Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Export .csv file from another program into excel
I want to export a .csv file from anther program into excel such that all
preceeding zeros in a number will still be reflected in the .csv file. Example 00001 will still be 00001. I have already tried to create Book.xlt and Sheet .xlt templates and placed them in the appropriate folders as much as I know. Still when the program export the .csv file it still uses the default microsoft workbook instead of my Book.xlt template. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Export .csv file from another program into excel
dayoadebayo,
You need to separate this, or you may go mad. First, export the csv file from the other program. Make sure the zeroes are there. Open the file in Notepad to see the exact characters that are in the file. Second, to import the file into Excel, change the extension from .csv to .txt. That will invoke the text import wizard when you open the file. Set that field to text. Alternatively, if the character count for this field is known and constant, just format it (Format - Cells - Number tab - Custom) in Excel with something like "00000" -- Earl Kiosterud www.smokeylake.com ----------------------------------------------------------------------- "dayoadebayo" wrote in message ... I want to export a .csv file from anther program into excel such that all preceeding zeros in a number will still be reflected in the .csv file. Example 00001 will still be 00001. I have already tried to create Book.xlt and Sheet .xlt templates and placed them in the appropriate folders as much as I know. Still when the program export the .csv file it still uses the default microsoft workbook instead of my Book.xlt template. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Export .csv file from another program into excel
Earl,
My real problem is what do I do so that excel will certainly receive the file and save the file making sure that the zeroes are there. They only command on the program is to export the data as a .csv file. Then excel receives and auto saves it. Thanks for your response. "Earl Kiosterud" wrote: dayoadebayo, You need to separate this, or you may go mad. First, export the csv file from the other program. Make sure the zeroes are there. Open the file in Notepad to see the exact characters that are in the file. Second, to import the file into Excel, change the extension from .csv to .txt. That will invoke the text import wizard when you open the file. Set that field to text. Alternatively, if the character count for this field is known and constant, just format it (Format - Cells - Number tab - Custom) in Excel with something like "00000" -- Earl Kiosterud www.smokeylake.com ----------------------------------------------------------------------- "dayoadebayo" wrote in message ... I want to export a .csv file from anther program into excel such that all preceeding zeros in a number will still be reflected in the .csv file. Example 00001 will still be 00001. I have already tried to create Book.xlt and Sheet .xlt templates and placed them in the appropriate folders as much as I know. Still when the program export the .csv file it still uses the default microsoft workbook instead of my Book.xlt template. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Outlook Attachments opening after several errors everytime | Setting up and Configuration of Excel | |||
Possible to change the program Excel uses to open a hyperlinked file? | Excel Worksheet Functions | |||
Weird File Open/Save As Behavior | Excel Discussion (Misc queries) | |||
Excel updating from XML file - file path specific? | Excel Discussion (Misc queries) | |||
Read Text File into Excel Using VBA | Excel Discussion (Misc queries) |