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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.