PC Review


Reply
Thread Tools Rate Thread

Cell format reverts to a custom date after change to General

 
 
billgeo
Guest
Posts: n/a
 
      24th Apr 2007
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

 
Reply With Quote
 
 
 
 
Mark Lincoln
Guest
Posts: n/a
 
      24th Apr 2007
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 <rqtball0...@yahoo.com> 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



 
Reply With Quote
 
billgeo
Guest
Posts: n/a
 
      24th Apr 2007
Thanks, I was check so I'll uncheck it and test it out.

Bill

 
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
Auto Cell Format Change from General to Custom Date ejschmitt2000 Microsoft Excel Misc 1 11th Sep 2009 09:31 PM
how i change the default format cell from date to general ? as Microsoft Excel Misc 0 3rd Jun 2009 07:26 AM
Change General format to Date format Vic Microsoft Excel Misc 2 2nd May 2009 09:41 AM
General Cell to Custom Date karicramer@gmail.com Microsoft Excel Programming 2 10th Mar 2007 11:50 PM
Change general format to US date format woodlot4 Microsoft Excel Misc 3 11th Oct 2005 12:29 AM


Features
 

Advertising
 

Newsgroups
 


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