Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Another ExcelXp Tagset Question - Multiple Sheets ByGroup Issue

Status
Not open for further replies.

RichardZA

Programmer
Sep 16, 2010
1
GB
Hi everyone

I've tried all the online resources I could and I just can't get this to work. I'm using this tutorial as a reference:
The issue is that I want my worksheet names to have only the value of the INVSITE variable. Currently I can get it to display on the INVSITE variable value AND the label of the second by group variable PT (also used for the pageby value)

Here is my code
Code:
ods tagsets.excelxp file="myreport.xls" style=sansPrinter
	options(sheet_interval='bygroup'
		sheet_label = ' '
		embedded_titles = 'yes' 
		suppress_bylines = 'yes'
		skip_space='0,2,0,1,1'
		Absolute_Column_Width = '14.29,14.86,16.71,14.43,19.86');

	 title #byvar2: #byval2 ;

	  proc print data=mvr_raw4 noobs label   ;
	     by  invsite pt  ;
		 pageby pt;
	  run;
ods tagsets.excelxp close;

My excel tab sheets look like this

100 Subject
101 Subject
227 Subject

Any and all help will be greatly appreciated!

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top