BookmarkSubscribeRSS Feed
Philmingo
Fluorite | Level 6

I am attempting to create a pivot table in Excel from data in a SAS table that will be saved to a drive.  I am using SAS 9.4.  I am attempting to do this in VBA; the reason I am using VBA is I would like an automated process to pull from a large data set to filter on before pulling the data into the Excel pivot table instead of exclusively filtering using the pivot table.  Simply using the SAS Add-In in Excel won't work for what I'm trying to accomplish. 

1 REPLY 1
Shmuel
Garnet | Level 18

Describe your sas data, post a test data and what do you want to have in the pivot table.

If you tried writing a code - what difficulties you had? up to what point did you advance ?

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
  • 1 reply
  • 1248 views
  • 0 likes
  • 2 in conversation