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!

How to stop the dropping of lead "0" when export to excel

Status
Not open for further replies.

colezpapa

Programmer
Feb 26, 2007
86
US
I am exporting a report to excel that has a field that sometimes contains a leading 0 (as a text field).
When in Excel, the lead zero is dropped.
I would like to get that "0" back in. Makes the users more comfortable.
 

On the Control Source of that field you could use
=Right("0" & [YourFieldName], YourStandardLength)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top