my excel data has the strike data. when i import in sas the strike data also imported and considering as real data. How can i clear the strike data and import the excel in sas
SAS just pulls the contents of the cells. It does not care what fonts or colors you are using.
If you want to import metadata about fonts, colors or other text attributes that are applied to the contents of a cell then you will need to do something in Excel first to convert that into information that is stored in another cells.
Applied VB script in excel to remove the strike though data and saved the excel and import.
Can we call the VB function in SAS to execute the excel sheet and import
@radha009 wrote:
Can we call the VB function in SAS to execute the excel sheet and import
As long as SAS is running on a Windows platform then you should be able to use SAS to execute any command you want. You can use one of the statements that runs commands (x, %sysexec, command) or use the PIPE filename engine.
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.