LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Format a number field as text


"@" is the designator that tells Excel to format cells as text.
"General" is the default format.
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Tony Girgenti"

wrote in message
Hello Jim.
I'm not sure of what "@" is supposed to do, but that did not work.
Thanks,
Tony



"Jim Cone"
wrote in message

Tony,
Try changing "Text" to "@"...
newExcelWorkSheet.Columns("C").NumberFormat = "@"
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find text in free-format text field Eric_NY Excel Discussion (Misc queries) 5 May 27th 09 07:31 PM
Format Phone Number Field VBA Tony Excel Discussion (Misc queries) 1 May 22nd 09 09:17 PM
Pivot Table - NUMBER FORMAT option does not appear in field settin cmgedc Excel Discussion (Misc queries) 3 November 5th 08 12:52 AM
ddd format to 'text' field rrupp Excel Discussion (Misc queries) 1 August 8th 05 10:03 PM
Number Field to Text or Words mr_bsh Excel Discussion (Misc queries) 5 May 10th 05 03:40 PM


All times are GMT +1. The time now is 05:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"