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)
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: