If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > formating excel data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-05-04, 13:15
webtekie webtekie is offline
Registered User
 
Join Date: Apr 2004
Posts: 3
formating excel data

Hello,

I need a way to format an Excel file while I am saving it. For example, if I have Excel Spreadsheet as:

Code:
    ID      Name   State      AreaCode
    ===  ====   ====   ========
    1         Bob       NY         212
    2         Joe        NJ         908

Once I would save this file as *csv I need it to look like this

Code:
    1,'Bob','NY',212
    2,'Joe','NJ',908

Another words I need to be able to mark columns as either Numeric or Text and save them accordingly .Is there anyway to accomplish this in Excel?

thanks,
webtekie
Reply With Quote
  #2 (permalink)  
Old 04-05-04, 14:08
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
If you want comma separated, then save as txt file rather than csv.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old 04-05-04, 14:41
webtekie webtekie is offline
Registered User
 
Join Date: Apr 2004
Posts: 3
If I save as txt file becomes tab delimited w/o commas.

Last edited by webtekie; 04-05-04 at 14:51.
Reply With Quote
  #4 (permalink)  
Old 04-06-04, 08:08
MikeTheBike MikeTheBike is offline
Registered User
 
Join Date: Apr 2004
Location: Derbyshire, UK
Posts: 714
Saving the data illustrated as a *.CVS does what is says on the tin, ie saves it as a 'comma separated variable' file (if you open in in a word processor like notepad), at least it does on my computer!

MTB
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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