Focal Point
Excel Bursting

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

November 10, 2005, 02:10 PM
cspowell
Excel Bursting
What code do I use to burst a report into multiple excel worksheets???
November 10, 2005, 03:02 PM
codermonkey
The syntax is:
HOLD FORMAT EXL2K BYTOC

You need WF 5.3 and Excel 2002 or higher I think.

Brian Carter gave a code example for handling large quantities of data at Summit. (It gets around the 65,000 row limit). I've included it in case you will find it useful:

TABLE FILE QAFOC03
PRINT F3SSN
COMPUTE COUNTER/I9 = COUNTER+1;
COMPUTE WORKSHEET/I4 = COUNTER/65500;
ON TABLE HOLD AS EXL65K FORMAT ALPHA
END
TABLE FILE EXL65K
PRINT F3SSN
BY WORKSHEET NOPRINT
ON TABLE PCHOLD FORMAT EXL2K BYTOC
END

Hope this helps.
November 10, 2005, 04:10 PM
cspowell
Thank you. I have Excel 2000, which explains the problem I'm having.
November 10, 2005, 04:11 PM
Francis Mariani
I did not know about FORMAT EXL2K BYTOC

What would be great is to be able to burst an Excel report into multiple tabs in the same worksheet.
November 10, 2005, 06:14 PM
Tony A
Francis,

That's exactly what it does - multiple worksheets in a workbook with each worksheet name bearing the value of the break field.
November 14, 2005, 05:10 PM
Francis Mariani
Sorry, I misunderstood, since cspowell asked how to create "multiple excel worksheets".

Will try it out.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
November 15, 2005, 03:19 AM
Tony A
Francis,

It's the old terminology thing again where some refer to the same thing by different phrases.

In this instance MS refer to their entire xls file as a workbook containing one or more worksheets (e.g. "tabs") Smiler



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10