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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to set xls font size from Response

Status
Not open for further replies.

aajaydee

Technical User
Oct 16, 2005
39
US
I am using this to transfer data from asp page to excel sheet.

Response.AddHeader("Content-Disposition", "attachment; filename=" + ExportReportName)
Response.AddHeader("Content-Length", bytes.Length.ToString())
Response.ContentType = "application/octet-stream"
Response.BinaryWrite(bytes)
Response.End()

every thing is working fine I just need to set the font size for XLS spread sheed
How can I set xls spread sheet font from this code

Any help will be help full
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top