BookmarkSubscribeRSS Feed
podarum
Quartz | Level 8

Hi,

 

I'm tasked with updating an Excel file every week with data I get from SAS however the Excel file has a column with a drop-down box, then a manager does his manual Excel updates and then I read that file in SAS again.  Is there a way that SAS can read and write data that is stored in Excel with a drop-down box?  Say I have an excel file with 5 columns and 10 rows.. one of the column is a drop-down. I update the 10 rows with info from SAS including some info in the Drop-down column and the my manager makes some additions and some changes, and I want to read that newly created Excel into SAS and then make my change sin Excel including the filed data in the drop-down as it may change with info from SAS. And then the process starts all over again.. week after week..

Thanks in advance  

1 REPLY 1
Reeza
Super User
Yes, you can import and write to drop down fields. However you'll need to ensure that the values written from SAS are valid within the allowed values of the drop down.
Try it 🙂

SAS Innovate 2025: Register Today!

 

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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