Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2011, 03:44 PM
eBob.com eBob.com is offline How Do I Put Text Values Into A CSV That Excel Will Leave Along? Windows Vista How Do I Put Text Values Into A CSV That Excel Will Leave Along? Office 2003
Novice
How Do I Put Text Values Into A CSV That Excel Will Leave Along?
 
Join Date: Feb 2011
Posts: 4
eBob.com is on a distinguished road
Default How Do I Put Text Values Into A CSV That Excel Will Leave Along?

I am creating a csv file which is all text. Some of the text values in one of the columns look more or less numeric. So I put all values in that column in "s. But still Excel does not always left align those value. And worse, change "10-11" to 11-Oct. Then if I tell Excel that it's really a text column the 11-Oct becomes 40827!

Is there any trick which I can use for the values in this column so that Excel will really treat them as text?



(I know that if I Import the file I can get it to look like it should. But the idea is to have it open that way in the first place.)

Thanks, Bob
Reply With Quote
  #2  
Old 05-03-2011, 05:54 AM
OTPM OTPM is offline How Do I Put Text Values Into A CSV That Excel Will Leave Along? Windows 7 32bit How Do I Put Text Values Into A CSV That Excel Will Leave Along? Office 2010 32bit
Expert
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default

Hi
Two things you could try:
1. for those "numeric values" you do not want Excel to treat as numbers you need to put a single quote in front of the entry. This forces excel to treat the entries as text.
2. Format the relevant column in Excel as text.
The first option should do the trick though.
Hope this helps.
OTPM
Reply With Quote
  #3  
Old 05-04-2011, 07:01 AM
eBob.com eBob.com is offline How Do I Put Text Values Into A CSV That Excel Will Leave Along? Windows Vista How Do I Put Text Values Into A CSV That Excel Will Leave Along? Office 2003
Novice
How Do I Put Text Values Into A CSV That Excel Will Leave Along?
 
Join Date: Feb 2011
Posts: 4
eBob.com is on a distinguished road
Default

Thank you very much OTPM! The single quote trick rings a bell but I had completely forgotten about it.

Thanks again, Bob
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Put Text Values Into A CSV That Excel Will Leave Along? Generate chart from list of text values knownunknown Excel 6 04-24-2013 01:56 AM
How Do I Put Text Values Into A CSV That Excel Will Leave Along? help with formulate refers to values meninio Excel 11 01-26-2011 10:00 AM
How Do I Put Text Values Into A CSV That Excel Will Leave Along? Download to Outlook, leave msg copies on server? Msuser Outlook 2 01-12-2011 05:54 PM
How Do I Put Text Values Into A CSV That Excel Will Leave Along? Using Conditions to Add Values EclipticalD Excel 1 07-08-2010 09:50 PM
Word - Calculate and paste values from Excel sheet Augf87 Word 1 07-06-2009 10:26 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:13 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