
Originally Posted by
DarkArchon
I want to stop Excel from dropping the leading zero, permanently and forever. I know I can format as text and or put in some special number formatting, but the data I work with this quickly becomes a pain. I just want Excel to retain those leading zeros, surely there is a way, an option somewhere that can be changed.
Thanks ahead of time for any help you guys can give me.
I don't think you are going to find a universally applicable option that turns off Excel's number recognition. If you want to input a number that should be treated as text, then you need to format the cells as text.
You don't give any specifics of why or when this is an issue for you. I would expect that it should only be an issue when a new workbook is created or a new worksheet added to a workbook, or when you execute a command that erases number formats. My best suggestion might be to create a VBA Sub procedure (aka macro) that will perform the offending operation and format as text. For example, the following procedure adds a new worksheet to the end of the active workbook and formats the given block of cells as text.
Instead of executing the built in Insert Worksheet command, you would run this macro and have a new sheet ready for inputting numbers as text. You could even assign this procedure to a toolbar button and/or menu item and/or keyboard shortcut.
Bookmarks