BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi there
is there anyway we can display a stored process results in an excel by calling it through the VBA code in excel.I can open the a sas dataset as recordset and displayed in an excel sheet. But for the purpose of a cutomized solution I would like to run the SP through VBA in the excel sheet and display the results.( Or even better if I can run a stroed process , which is a proc summary statement,and open the results through the recordset object .) Not sure if it's possibe. But Just exploring new options 🙂

Thanks in advance for the help
Suren
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
If you Google the search terms,
SAS Stored Process VBA
you come up with quite a few hits, two of which are:
http://www2.sas.com/proceedings/sugi28/032-28.pdf
http://www2.sas.com/proceedings/sugi27/p174-27.pdf

For more help on the subject, your best bet is to contact Tech Support for help and/or to read the SAS Integration Technologies documentation and look on the web for further examples at these sites:
http://support.sas.com/rnd/itech/library/index.html
http://support.sas.com/rnd/eai/samples/index.html

cynthia
deleted_user
Not applicable
Thanks for the direction

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 2 replies
  • 1451 views
  • 0 likes
  • 2 in conversation