Dear John and all Apart from the many solutions suggesting formatting as text or adding the ' sign, you could custom format the cell, thus retaining the number format and having the leading zeroes at the same time. For example if your numbers are of a fixed length of 6 digits so that "15" is to be displayed as "000015", you could custom format the cell/cells using the format cell dialogue box and typing 000000 using custom format.
Anil Kumar Agarwala Guwahati : 781001 Assam akagarw...@gmail.com -----Original Message----- From: excel-macros@googlegroups.com [mailto:excel-mac...@googlegroups.com] On Behalf Of john Sent: Tuesday, May 19, 2009 7:22 PM To: MS EXCEL AND VBA MACROS Subject: $$Excel-Macros$$ Leading zeros I have a basi questions. When I try to enter a number with a leading zero, it ignores the zero and enters the rest. Where do I go to correct this so all numbers including the leading zero be entered and displayed? --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---