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

Query 2 Excel

LEGEND ,
Dec 04, 2006 Dec 04, 2006

Copy link to clipboard

Copied

Anyone know where I can find a good Query 2 Excel UDF that allows me to
specify a query and what column headers to export into either a CSV or an
XLS.

Seems like all the ones I find are confusing or don't allow me to specify
the column headers on the outputed excel document.


TOPICS
Advanced techniques

Views

312

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
Participant ,
Dec 04, 2006 Dec 04, 2006

Copy link to clipboard

Copied

LATEST
I've attached my code that exports a query to an XLS.

Basically you set it up with

<cfcontent type="application/msexcel">
<cfheader name="Content-Disposition" value="inline; filename=All_Leads.xls" charset="utf-8">

Then build your table in HTML and whatever is there, is how it will be in XLS.

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