SAS Programming

DATA Step, Macro, Functions and more
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-white.png

Join us for our biggest event of the year!

Four days of inspiring keynotes, product reveals, hands-on learning opportunities, deep-dive demos, and peer-led breakouts. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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