BookmarkSubscribeRSS Feed
dan999
Fluorite | Level 6

Is is possible to output data to a specific cell in a spreadsheet?

Thanks,

DanD

1 REPLY 1
Cynthia_sas
Diamond | Level 26

Hi:

  If you are you using TAGSETS.EXCELXP or other ODS destinations and Base SAS, then the way that ODS works is to completely rewrite or recreate the file specified in the FILE= option or the BODY= option. The only way to write to a particular cell or range of cells is to use named ranges and PROC EXPORT and/or the LIBNAME engine -- using SAS methods -- but these are NOT ODS methods.

  Using Microsoft technology, you might, with DDE, or ODBC or OLE-DB be able to write to existing sheets/workbooks to a particular cell.

cynthia

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore 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
  • 1 reply
  • 1702 views
  • 0 likes
  • 2 in conversation