BookmarkSubscribeRSS Feed
chuckdee4
Calcite | Level 5
Hi people,

I have this issue on how you write certain dervied values from SAS Datasets into specific cells in an Excel sheet.

Could you kindly help out using a basic example of trying to write a final figures of 150, 200 and 250 into cells D6, D7 and D8

Thanks
2 REPLIES 2
Cynthia_sas
Diamond | Level 26
Hi:
I believe you have to do this using the SAS Excel LIBNAME engine and named ranges. If you search on Google or on support.sas.com, you should find some examples of using named ranges to write to specific cells.

cynthia
ArtC
Rhodochrosite | Level 12
I am not sure if this is what you are looking for, but there are several papers by LeRoy Bessler that address similar problems using DDE. Consider:
http://www2.sas.com/proceedings/sugi31/022-31.pdf
www.mwsug.org/proceedings/2010/excel_db/MWSUG-2010-166.pdf Message was edited by: ArtC

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 1330 views
  • 0 likes
  • 3 in conversation