I want to save as the excel file using SAS DDE. Anyone know how to turn off the warnings from excel if the file is exist?
Below is the code:
FILENAME DCMDS DDE'EXCEL|SYSTEM';
DATA _null_;
FILE dcmds;
PUT "[save.as(""D:\Reports\sme_fwd.xls"")]";
PUT "[file.close(FALSE,FALSE)]";
RUN;
In VBA we can set Application.DisplayAlerts = False
to turn off the warning, but I don't know what the similar syntax in SAS DDE.
Thank you