ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to prevent Excel from deleting leading zeros? (https://www.excelbanter.com/excel-discussion-misc-queries/53038-how-prevent-excel-deleting-leading-zeros.html)

ljCharlie

How to prevent Excel from deleting leading zeros?
 

I have exported some data off my phpMyAdmin with one field containing
leading zeros. As soon as I open in MS Excel, the leading zeros are
stripped off. How do I prevent this from happening?


--
ljCharlie

Peo Sjoblom

How to prevent Excel from deleting leading zeros?
 
Save the export as text, then open text file from excel and the text import
wizard will start, then it step 3 you can set import to text under column
data format.


--

Regards,

Peo Sjoblom


"ljCharlie" wrote in message
.. .

I have exported some data off my phpMyAdmin with one field containing
leading zeros. As soon as I open in MS Excel, the leading zeros are
stripped off. How do I prevent this from happening?


--
ljCharlie





All times are GMT +1. The time now is 07:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com