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
SAS Super FREQ
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

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