Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Cell format reverts to a custom date after change to General

I have several rows in a worksheet that are initially formated with
General (no number formatting).
However, when the user enters something like 3/8 or 3.8 Excel reads
it as a date and changes the input to its date equivalent and changes
the cell format to Custom d-mmm. This occurs allot in one particular
row as fractions are entered. I'm at a loss. I'm sure there is nothing
in my code doing this so there must be some auto format type of
setting control this but I'm unable to locate it.

Thanks for any insights.

Bill

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 227
Default Cell format reverts to a custom date after change to General

Excel will treat an entry like 3/8 as a date. To get the fraction one
would have to enter =3/8.

As for fractions turning into dates, see if you have "Extend list
formats and formulas" checked under Tools|Options|Edit. Excel may be
trying to extend a date format into a new column.

Mark Lincoln

On Apr 24, 12:01 am, billgeo wrote:
I have several rows in a worksheet that are initially formated with
General (no number formatting).
However, when the user enters something like 3/8 or 3.8 Excel reads
it as a date and changes the input to its date equivalent and changes
the cell format to Custom d-mmm. This occurs allot in one particular
row as fractions are entered. I'm at a loss. I'm sure there is nothing
in my code doing this so there must be some auto format type of
setting control this but I'm unable to locate it.

Thanks for any insights.

Bill



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Cell format reverts to a custom date after change to General

Thanks, I was check so I'll uncheck it and test it out.

Bill

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
Auto Cell Format Change from General to Custom Date ejschmitt2000 Excel Discussion (Misc queries) 1 September 11th 09 09:31 PM
Automatic Format Change: General to Date Gustavo[_2_] Excel Discussion (Misc queries) 1 August 25th 09 05:47 PM
how i change the default format cell from date to general ? as Excel Discussion (Misc queries) 0 June 3rd 09 07:26 AM
Change General format to Date format Vic Excel Discussion (Misc queries) 2 May 2nd 09 09:41 AM
General Cell to Custom Date [email protected] Excel Programming 2 March 10th 07 11:50 PM


All times are GMT +1. The time now is 09:28 AM.

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

About Us

"It's about Microsoft Excel"