• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Export monster Query to EXCEL file with multiple worksheets.

Guest
Oct 09, 2006 Oct 09, 2006

Copy link to clipboard

Copied

Hi,
I have a big problem, on export my monster datas into Excel file.
I able to generate Excel file by using CFCONTENT tag, the problem is my data rows more than 65536 rows (which more than excel maximum rows).

Is there a way that I can generate into multiple worksheets in single excel file and I can control rows for per worksheet?

Please advise,
Eric
TOPICS
Advanced techniques

Views

614

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 09, 2006 Oct 09, 2006

Copy link to clipboard

Copied

Hi Expert out there , please big help on above problem!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Oct 09, 2006 Oct 09, 2006

Copy link to clipboard

Copied

Check out Apache POI.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Oct 10, 2006 Oct 10, 2006

Copy link to clipboard

Copied

LATEST
thanks emeraldz and MikerRoo on ur value feedback.

Emeraldz,
I tried it repeat the same data on every worksheet. Will make some changes on the cfloop.
many thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 09, 2006 Oct 09, 2006

Copy link to clipboard

Copied

Assuming you're currently using CSV format, you could always try dumping the data to Excel's XML format, in which you can specify multiple worksheets. This format works with Excel 2003, but I haven't tested it with over versions, so YMMV. The attached code is a quick example. Just make sure the output is valid XML (e.g. no extra spaces before the XML declaration, no debug output, etc).

Greg


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation