PC Review


Reply
Thread Tools Rate Thread

CSV file displaying ###### instead of $nn,nnn

 
 
anjanesh
Guest
Posts: n/a
 
      21st May 2006

Hi

I used PHP's 'fgetcsv'
(http://us3.php.net/manual/en/function.fgetcsv.php) to write data to a
..csv file. The data pretty much formatted when I opened it in 'Context'
(http://www.context.cx/) but when opened in Excel 2003, one column which
contains data like *"$105,138"* is showing as *########*.
When the cell is hovered over it shows *$105,138* in the tip but shows
*105138* in the top textbox (the one next to fx label)

How do I 'tell' Excel to display *$105,138* instead of *########* ?

Thanks


--
anjanesh

Freelance Developer
------------------------------------------------------------------------
anjanesh's Profile: http://www.excelforum.com/member.php...o&userid=27132
View this thread: http://www.excelforum.com/showthread...hreadid=544034

 
Reply With Quote
 
 
 
 
Ian
Guest
Posts: n/a
 
      21st May 2006
It's too wide for the column. Increase the column width.

--
Ian
--
"anjanesh" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> Hi
>
> I used PHP's 'fgetcsv'
> (http://us3.php.net/manual/en/function.fgetcsv.php) to write data to a
> .csv file. The data pretty much formatted when I opened it in 'Context'
> (http://www.context.cx/) but when opened in Excel 2003, one column which
> contains data like *"$105,138"* is showing as *########*.
> When the cell is hovered over it shows *$105,138* in the tip but shows
> *105138* in the top textbox (the one next to fx label)
>
> How do I 'tell' Excel to display *$105,138* instead of *########* ?
>
> Thanks
>
>
> --
> anjanesh
>
> Freelance Developer
> ------------------------------------------------------------------------
> anjanesh's Profile:
> http://www.excelforum.com/member.php...o&userid=27132
> View this thread: http://www.excelforum.com/showthread...hreadid=544034
>



 
Reply With Quote
 
anjanesh
Guest
Posts: n/a
 
      21st May 2006

Oh...that easy !
Becuase it was in csv format, I didnt want to change the style etc,
otherwise it'll ask me to save it in xls.

Thanks


--
anjanesh

Freelance Developer
------------------------------------------------------------------------
anjanesh's Profile: http://www.excelforum.com/member.php...o&userid=27132
View this thread: http://www.excelforum.com/showthread...hreadid=544034

 
Reply With Quote
 
Ian
Guest
Posts: n/a
 
      21st May 2006
Glad it worked. Thanks for the feedback.

--
Ian
--
"anjanesh" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> Oh...that easy !
> Becuase it was in csv format, I didnt want to change the style etc,
> otherwise it'll ask me to save it in xls.
>
> Thanks
>
>
> --
> anjanesh
>
> Freelance Developer
> ------------------------------------------------------------------------
> anjanesh's Profile:
> http://www.excelforum.com/member.php...o&userid=27132
> View this thread: http://www.excelforum.com/showthread...hreadid=544034
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying File Timestamp of Another Excel File rockfalls3@yahoo.com Microsoft Excel Charting 0 22nd Jul 2008 10:48 PM
Displaying an AVI file José Windows Vista General Discussion 45 3rd Nov 2007 02:15 PM
C# displaying a help file using F1 Daniel Passwater via DotNetMonster.com Microsoft C# .NET 0 12th Apr 2005 03:15 PM
Displaying Help file using C# =?Utf-8?B?TmlhbGw=?= Microsoft Dot NET Framework Forms 0 30th Sep 2004 02:47 PM
HTM file not displaying Matt Windows XP General 1 19th Mar 2004 09:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:11 AM.