BookmarkSubscribeRSS Feed
Gursky
Calcite | Level 5
Hi,

I'm trying to establish a connection to the SAS Server and create a workspace using VBA. However, I'm having a problem trying to figure out how to browse the libraries and access datasets on the server from Excel. Is there a call for the Add-In dialog in VBA that would allow me to access the libraries?
1 REPLY 1
CaseySmith
SAS Employee
After creating a connection to the workspace server, the DataService property on the workspace object will allow you to list, assign, deassign libraries, etc. Once you have a Libref object you can list data sets in that library and open a data set. To start, look at the DataService object in the help file C:\Program Files\SAS\Shared Files\Integration Technologies\sas.chm and in the ObjectBrowser in the VBA editor.

Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

Discussion stats
  • 1 reply
  • 1437 views
  • 0 likes
  • 2 in conversation