Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Format when opening .CSV file in Excel

Hello:

We are creating .CSV file( comma delieminated) from the
Web Page so that users can use Excel to view the file.

The issue is with format.

We like the data to be left formatted. Also like Excel
NOT to drop leading zeros.

Can this be done using .CSV format? If not what options
we have
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 473
Default Format when opening .CSV file in Excel

Mohan wrote:
We are creating .CSV file( comma delieminated) from the
Web Page so that users can use Excel to view the file.
The issue is with format.


We like the data to be left formatted. Also like Excel
NOT to drop leading zeros.
Can this be done using .CSV format? If not what options

we have


If the file extension is CSV, Excel gives you no options.
If the file extension is something else, Excel will show the Text
Import wizard; you can specify certain columns to be treated as text,
which should preserve the leading zeros.
Left alignment would need to be done by a macro after the import.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
date format problem from opening dbf file in excel 2007 pol Excel Discussion (Misc queries) 5 December 1st 08 11:42 AM
Excel 2007 File Problems (Opening New Format) Grazen Excel Discussion (Misc queries) 2 July 21st 06 04:24 PM
opening csv file in regular excel format sureshbabussb Excel Discussion (Misc queries) 1 December 6th 05 03:53 PM
How to use the exact format in a csv file when opening a csv file tong Excel Discussion (Misc queries) 1 October 13th 05 05:41 AM
Excel getting Error - file format is not valid WHEN OPENING babu Excel Discussion (Misc queries) 1 August 24th 05 09:09 PM


All times are GMT +1. The time now is 10:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"