Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-20-2012, 05:21 AM
martinlest martinlest is offline Saving Excel files as text Windows 7 64bit Saving Excel files as text Office XP
Advanced Beginner
Saving Excel files as text
 
Join Date: Jan 2011
Location: U.K. Hampshire
Posts: 37
martinlest is on a distinguished road
Default Saving Excel files as text

Hi. I opened a text file in Excel and saved it as a csv file. Now I need to export/save it back to a text file but I need to save it so that it does not save the columns - in other words, each line of data is currently in a separate column in the csv file - I need to revert to a file in which all that data is in the A column so that I get this in the saved txt file

AC#10,4R-JUH,90%,WEEK,IFR,2/02:52:48,2/08:21:20,540,R,0000,OETF,2/09:26:33,2/14:55:05,180,R,0000,VCBI



instead of this:

AC#10 4R-JUH 90% WEEK IFR 2/02:52:48 2/08:21:20 540 R 0 OETF 2/09:26:33 2/14:55:05 180 R 00000 VCBI

I used the data tab to import the text file and have the separate data, between commas, appear in separate columns, but I just cannot get it to revert to all data in column A, (then export to text so as to have the 1st example).. I thought a comma separated file, instead of a tab separated would do that, but I have wasted an hour so far with no luck!!

Thanks for any help,

Martin
Reply With Quote
  #2  
Old 06-20-2012, 05:45 AM
macropod's Avatar
macropod macropod is offline Saving Excel files as text Windows 7 64bit Saving Excel files as text Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Martin,

A CSV file is a Comma-Separated Values file. If you simply save your CSV file as a:
• TXT file (via File|Save As), you'll get tabs instead of commas.
• PRN file (via File|Save As), you'll get spaces instead of commas.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 06-20-2012, 05:52 AM
martinlest martinlest is offline Saving Excel files as text Windows 7 64bit Saving Excel files as text Office XP
Advanced Beginner
Saving Excel files as text
 
Join Date: Jan 2011
Location: U.K. Hampshire
Posts: 37
martinlest is on a distinguished road
Default

So there's no way to get the commas back, as in my example? This is for a gaming programme file and syntax is important. No commas, no file....

Thanks,

Martin
Reply With Quote
  #4  
Old 06-20-2012, 05:55 AM
macropod's Avatar
macropod macropod is offline Saving Excel files as text Windows 7 64bit Saving Excel files as text Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

If you have a CSV file, it will alreay have the commas in it. You should be able to see these if you open it with a text editor - not with Excel. If you want to be able to open it in Excel and see the commas, change the file's extension from CSV to TXT.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 06-20-2012, 06:21 AM
martinlest martinlest is offline Saving Excel files as text Windows 7 64bit Saving Excel files as text Office XP
Advanced Beginner
Saving Excel files as text
 
Join Date: Jan 2011
Location: U.K. Hampshire
Posts: 37
martinlest is on a distinguished road
Default

Haha!! Just change the file extension! That works. Thanks a lot,

Martin
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 / 2007 files saving slow on Win 2003 Server Atradius Office 0 07-23-2011 07:41 AM
saving files to my domain rodlloyd Office 0 10-23-2010 07:47 AM
saving all open files reverter Word 5 01-28-2010 03:02 PM
Saving Powerpoint to .PNG files studythecode PowerPoint 0 07-07-2009 03:46 PM
Saving Excel files as text Saving Word files as PDF catbags Word 2 03-20-2009 12:42 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:34 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft