Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Settings please help

Status
Not open for further replies.

zishan619

Programmer
May 28, 2003
284
0
0
MX
Hi
I have an asp page that opens a report in excel format using
Response.ContentType = "application/vnd.ms-excel"
I need to know how can set the columns automatically so that when it opens up it doesn't look all unformatted.
Thanks
 
I've had really good luck using tables to output to excel (using XML). The table's format comes through just fine.

Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

zen.gif
 
Perhaps something here might help:

Creating a Dynamic Report using ASP and Excel by Jeff Anderson - 1/9/2003

Output To MSExcel

ASP Tutorial: Dynamic Excel Reports


Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
 
Thank you your website helped me out a lot Bull. Thanks
 
Cool - and thank you for the positive feedback!

Best regards,
J. Paul Schmidt, Freelance ASP Web Developer
ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top