ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Auto Cell Format Change from General to Custom Date (https://www.excelbanter.com/excel-discussion-misc-queries/242398-auto-cell-format-change-general-custom-date.html)

ejschmitt2000

Auto Cell Format Change from General to Custom Date
 
Upon opening a new workseet all cells are formatted as General. However as
an example when entering a range of page numbers such as "1-25", the cell
format automatically changes to Custom Date and the "1-25" is then displayed
as the date Jan 25. How do I keep this from happening?

Dave Peterson

Auto Cell Format Change from General to Custom Date
 
Preformat the cell as Text (format|cells|number tab in xl2003 menus) then do the
data entry.

or start your entry with an apostrophe: '1-25



ejschmitt2000 wrote:

Upon opening a new workseet all cells are formatted as General. However as
an example when entering a range of page numbers such as "1-25", the cell
format automatically changes to Custom Date and the "1-25" is then displayed
as the date Jan 25. How do I keep this from happening?


--

Dave Peterson


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com