Dave Hannum wrote:

> I'm generating a .csv file for downloaing into Excel.  Problem is, if I have
> fields that contain values like so:
> 
> "1 - 3"
> 
> Excel automatically converts this into a date:  3-Jan.   Is there any way to
> prevent this from my side?


I believe putting a single quote before the start of the string will work:

"'1 - 3"

Jochem


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to