BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ALDEBARAN
Calcite | Level 5

Hello,

 

I search a way to refresh SAS Program in VBA through SAS OFFICE ADD-IN 8.2?

 

 

Thank you

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisNZ
Tourmaline | Level 20

Your need is very much unclear. 

Please explain more: what do you have, what do you want?

View solution in original post

3 REPLIES 3
ChrisNZ
Tourmaline | Level 20

Your need is very much unclear. 

Please explain more: what do you have, what do you want?

ALDEBARAN
Calcite | Level 5

hello,

 

1 - In EXCEL SAS ADD-IN 8.2 we can write and execute SAS Code manually. it's ok .

2 - I can execute all  EXCEL SAS ADD-IN 8.2  orders in VBA except SAS code executing.

3 - I've got to execute this sas code in the same sas session opened by the  SAS ADD-IN 8.2.

4 - I search, if possible,  to automate the sas code execution  in VBA with SASExcelAddIn objects... 

 

Thanks a lot

 

 

 

 

ChrisNZ
Tourmaline | Level 20

I reckon your post title would be a lot clearer as "Run SAS code in Excel add-in via VBA"

It looks like VBA's access to add-ins is rather limited, see https://docs.microsoft.com/en-us/office/vba/api/excel.addins

but maybe someone else has dug deeper than I have.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 878 views
  • 2 likes
  • 2 in conversation