BookmarkSubscribeRSS Feed
milts
Pyrite | Level 9
Hi!

Is it possible to send your output to an existing worksheet, and specifying where row and column to put it, and overwriting if the certain cells already have values in it? If it's possible how can it be done?

Thanks!
3 REPLIES 3
Olivier
Pyrite | Level 9
Hi.
To my opinion, there are only two ways to do that :
1) to write ODS to a DDE filename, using a dedicated ODS TAGSET (some can be found on the Internet) ;
2) to write the Output to a dataset with ODS OUTPUT, and then use proc Export to send the dataset where you want -- provided you have licence for SAS/Access to PC Files.

Olivier
milts
Pyrite | Level 9
Thanks! I'll try that one out
deleted_user
Not applicable
Hi,
I am trying to use the LIBNAME statement to read and write the data from/into the excel file. To access I use also the named ranges as mentioned in http://www2.sas.com/proceedings/sugi31/024-31.pdf

I have the the following question:
is there any possibility to write the SAS data into MS Excel named range without writing the variable names? (I have found the libname option HEADER=NO that for reading without varnames, but this doesn't work when writing into excel).

My SAS version is 9.1.3.

Thank you in advance!
Jaroslav

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