LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default forcing cell format type in excel using com?

I have a program that creates and inserts into an excel document using com.
The default format for the cells are type=general. I need to force it to
type=text so excel doesn't try formatting my data. I can't find any
documentation on how to do this, any suggestions?

ex. 179662E14 displays as 1.80E+19
note: sometimes this data views differently because the column is not open
wide enough, but this is a different issue.

thanks,
Daryl

 
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
Forcing Save as in the format of Excel 2007 JJ[_3_] Excel Discussion (Misc queries) 1 June 1st 08 01:04 PM
Format Cell As You Type cooper Excel Programming 4 April 6th 06 01:53 AM
Find the Format Type of a cell Chris Excel Programming 2 June 17th 05 01:41 AM
Change Excel cell format date type examples ("14-Mar-01") Cogito.ergo.sum Setting up and Configuration of Excel 1 May 17th 05 06:13 PM
Variant type for Excel cell percentage data format Mike Excel Programming 4 October 21st 04 01:03 AM


All times are GMT +1. The time now is 06:52 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"