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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 811 views
  • 0 likes
  • 3 in conversation