Looks like you might be missing some references.
Please take a look at integrating technologies for SAS 9.4 Platform
SAS 9.4 Integration Technologies: Windows Client Developer's Guide
Developing Apps and communicating to SAS Viya
If you look at the link I provided, I have already checked the two references that they suggest.
Plus, knowing VBA, if I was missing a reference I would get a 'user-defined type' error, not "class not registered".
Hmmm not entirely sure why the VB code isn't working.
You might want to try the Microsoft Community site for VB code
Visual Studio Community 2019 - Free IDE and Developer Tools (microsoft.com)
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.