Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am working in excel and need to import into Sage. I can create the CSV
file that is required but I lose the leading zeros from certain text columns/fields when I convert to from excel to CSV (for example 025 becomes 25). How can I overcome this. If I edit the CSV file in Notepad will this do the trick. If it does, this will be OK for the odd item, but I may need to do it for hundreds of items in the same column/field and this is impractical in Notepad. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
My guess is that you are not losing the leading zero when you save from
Excel to CSV (try reading the CSV in Notepad to be sure), but that you may lose the leading zero if you read back from CSV to Excel by File/ Open or by double-clicking on the CSV. You can read the CSV into Excel by Data/ Import External Data, and then during the import you can choose Text as the format for the relevant column. -- David Biddulph "Richard James" <Richard wrote in message ... I am working in excel and need to import into Sage. I can create the CSV file that is required but I lose the leading zeros from certain text columns/fields when I convert to from excel to CSV (for example 025 becomes 25). How can I overcome this. If I edit the CSV file in Notepad will this do the trick. If it does, this will be OK for the odd item, but I may need to do it for hundreds of items in the same column/field and this is impractical in Notepad. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to copy a number into a text cell, keeping leading zeros? | Charts and Charting in Excel | |||
Excel drops my lead zeros: need 0051 not 51 | Excel Discussion (Misc queries) | |||
Keep Lead Zeros | Excel Discussion (Misc queries) | |||
Concatenate Text & Numbers Keeping zeros.. | Excel Worksheet Functions | |||
save text field w/ leading zeros in .csv format & not lose zeros? | Excel Discussion (Misc queries) |