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
SAS Super FREQ
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

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 2 replies
  • 1103 views
  • 0 likes
  • 3 in conversation