Focal Point
[CLOSED] Excel first tab in potrait and second tab in landscape

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7487038986

April 03, 2018, 02:44 PM
v_ani
[CLOSED] Excel first tab in potrait and second tab in landscape
hello,

The user wants the excel output first page in potrait and second page in landscape . I appreciate any one have thoughts...


 TABLE FILE CAR 
PRINT CAR
ON TABLE PCHOLD FORMAT XLSX OPEN
ON TABLE SET HTMLCSS ON
ON TABLE SET XLSXPAGESETS ON
ON TABLE SET STYLE *
     TITLETEXT='POTRAIT Page',
	 ORIENTATION=POTRAIT,
$
ENDSTYLE
END

TABLE FILE CAR 
PRINT COUNTRY
ON TABLE PCHOLD FORMAT XLSX CLOSE
ON TABLE SET HTMLCSS ON
ON TABLE SET XLSXPAGESETS ON
ON TABLE SET STYLE *
     TITLETEXT='LANDSCAPE Page',
	 ORIENTATION=LANDSCAPE,
$
ENDSTYLE
END 

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
April 03, 2018, 03:17 PM
MartinY
This is a MS Excel feature not something that WebFOCUS can manage.

If you want to perform page formatting you need to send your result (report) as in an Excel Template Macro (xlsm) where you can then add a Macro (in your Excel Template Macro file) that will set the page orientation.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007