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

Formatting Text and Dates in Excel Output

Status
Not open for further replies.

mdr2271

Programmer
Sep 14, 2005
42
US
I am writing some output to Excel on an ASP page and was wondering how to format the field in Excel to be text vs numeric. Our ID numbers are of the format 0000123 and are a text field. When the field is exported to Excel it shows up as 123 and not 0000123 like we need it.

Also, how can you format a date field to export to Excel?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top