Reply To: Running user defined macros automatically…

Product Compare Forums Multi-Edit Support Running user defined macros automatically… Reply To: Running user defined macros automatically…

#5964
ketivar
Participant

Thanks for the suggestion Brent. I wasn’t able to get that method working but it gave me an idea so I played around some more and I was able to come up with a solution.

I created a compiler type for SAS in the Compiler/Program Setup so I could use a function from Compile.s. Then I added a call to the CompileBtnEx function at the top of my macro.

Now I just need to call the macro and it automatically compiles my program and then loads (or refreshes) my output files.