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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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