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

Output to multiple tabs in Excel

New Here ,
Apr 01, 2010 Apr 01, 2010

Copy link to clipboard

Copied

Im using <CFCONTENT type="application/vnd.ms-excel"> in my code and I need to output the results of a number of queries each to a seperate tab

in Excel. How do I do that?

TOPICS
Advanced techniques

Views

2.6K

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

correct answers 1 Correct answer

Valorous Hero , Apr 01, 2010 Apr 01, 2010

<cfcontent....> does not have the ability to do multiple tabs in an Excel output.

If you want that level of control you will either need to go to CF9's new excel integration technology.

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec17cba-7f87.html

OR

For older ColdFusion servers, dive into the Java underling and use the POI integration technology.

http://www.bennadel.com/blog/474-ColdFusion-Component-Wrapper-For-POI-To-Read-And-Write-Excel-Files.htm

Votes

Translate

Translate
LEGEND ,
Apr 01, 2010 Apr 01, 2010

Copy link to clipboard

Copied

A separate tab in your browser or a separate worksheet in excel?

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
Valorous Hero ,
Apr 01, 2010 Apr 01, 2010

Copy link to clipboard

Copied

<cfcontent....> does not have the ability to do multiple tabs in an Excel output.

If you want that level of control you will either need to go to CF9's new excel integration technology.

http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec17cba-7f87.html

OR

For older ColdFusion servers, dive into the Java underling and use the POI integration technology.

http://www.bennadel.com/blog/474-ColdFusion-Component-Wrapper-For-POI-To-Read-And-Write-Excel-Files.htm

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 ,
Apr 01, 2010 Apr 01, 2010

Copy link to clipboard

Copied

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
Valorous Hero ,
Apr 01, 2010 Apr 01, 2010

Copy link to clipboard

Copied

LATEST

Personally, I prefer the POI approach mentioned above. But a third possibility is to use Office's mso schemas/xml

http://cfsilence.com/blog/client/index.cfm/2006/7/19/Creating-Multiple-Tabs-in-Excel-with-Coldfusion

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