BookmarkSubscribeRSS Feed
wcpatton
Calcite | Level 5

In 9.2, my codes worked fine.  In 9.3, I have issues getting my excel macros to execute with my SAS codes.  Has this syntax changed now?  The macro keeps trying to execute on personal.xlsb rather than waiting for the SAS output.

This was the code:

options noxwait noxsync;

data _null_;

rc=system("Start Excel");

run;

data _null_;

x=sleep(1);

run;

SOME ODS HERE

options noxwait noxsync;

data _null_;

x=sleep(5);

run;

data _null_;

file CMDS;

put '[RUN("personal.xlsb!MACRONAME")]';

run;

2 REPLIES 2
Tom
Super User Tom
Super User

I have no idea about your particular problem, but there are many messages about making sure that the your SAS version is consistent with your Excel version in terms of 32bit vs 64bit.  Perhaps the issue is that you went from 32 bit SAS 9.2 to 64 bit SAS 9.3?

sas-innovate-2024.png

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.

 

Register now!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 1168 views
  • 0 likes
  • 2 in conversation