BookmarkSubscribeRSS Feed
R_Win
Calcite | Level 5
Hi
i am exporting output in ods excel i want the output to start from row=2 and column=2 how can i do it.
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
As a general guideline, you only need to post a given query in one forum.

Scott
Cynthia_sas
Diamond | Level 26
Hi:
Generally speaking, your ODS TAGSETS.EXCELXP or ODS HTML output (there is no ODS EXCEL destination) starts in the upper left-hand corner of the worksheet when the XML file or HTML file is opened in Excel. This means cell A1 or row1,col1.

If you have titles, procedure titles, and/or column headers, these report elements can all impact the starting row of the data. The starting column of data is usually COL A or COL 1.

You might be able to manipulate the data with some blank columns in your procedure of choice in order to shift the output to start in COL 2.

You also indicated that you were "exporting" -- this implies the use of PROC EXPORT and not ODS. I believe that PROC EXPORT output always starts in Row 1, Column A.

cynthia

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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