DATA Step, Macro, Functions and more

How do I create a pivot table in Excel from data in a SAS table using VBA

Reply
Learner
Posts: 1

How do I create a pivot table in Excel from data in a SAS table using VBA

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. 

Trusted Advisor
Posts: 1,570

Re: How do I create a pivot table in Excel from data in a SAS table using VBA

Posted in reply to Philmingo

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 ?

Ask a Question
Discussion stats
  • 1 reply
  • 134 views
  • 0 likes
  • 2 in conversation