Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Disable Excel's Auto Formatting

In Excel 2000, if you have a text of more than 15 digits
(eg: "12345678912345678912345"), excel automatically
changes this into exponential. If you have leading zeros
in a cell (eg: 0001), excel strips the leading zeroes.

Without changing the cell format, how do I disable excel's
automatic cell value formatting. Is there registry setting
that needs to be set?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disable Excel's Auto Formatting

Formatting the cell as text would work, why isn't that acceptable? -
Pikus


---
Message posted from http://www.ExcelForum.com/

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default Disable Excel's Auto Formatting

More to the point numbers can only have up to 15 significant digits
in Excel. Please look up "Specification" in your Excel Help.

So "text" is your only choice. You can format the column as text
beforehand, or you can precede the value with a single quote
to force it to text.


"pikus " wrote in message ...
Formatting the cell as text would work, why isn't that acceptable? -
Pikus


---
Message posted from http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Disable Excel's Auto Formatting

Because if I'm sending an HTML file (and I specify this as
application/vnd.ms-excel)and IE opens it automatically in
Excel, I can't really specifiy in my HTML that this cell
value should only be formatted as text. It is of General
format by default.


-----Original Message-----
Formatting the cell as text would work, why isn't that

acceptable? -
Pikus


---
Message posted from http://www.ExcelForum.com/

.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Disable Excel's Auto Formatting

Then Dave's suggestion of a leading single quote should work. - Piku

--
Message posted from http://www.ExcelForum.com



Reply
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
Excel's 2003 Auto Recover Feature Marilyn Excel Discussion (Misc queries) 2 November 10th 06 10:16 PM
How does one disable Auto-Formatting of dates? Clarissimus Excel Discussion (Misc queries) 1 July 14th 06 05:15 PM
Disable auto-formatting dates.... GRRR! [email protected] Excel Discussion (Misc queries) 2 February 2nd 06 01:22 PM
Disable auto-formatting dates.... GRRR! [email protected] Excel Worksheet Functions 2 February 2nd 06 01:22 PM
Disable auto editor formatting Niklas[_3_] Excel Programming 1 August 14th 03 12:51 PM


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