Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default The Cell formats keep changing itself from text to date

I have a macro that is picking up from a list on a seperate worksheets a bank
sort code being

12-34-56

The macro is then putting this code into another worksheet. But in the
worksheet the code is being put into the format keeps changing itself to
date. I have tried changing it to text and saving it but when the macro is
run the format changes to date and the code is no good.

Is this something within the settings such as auto correct or options that
is causing this to happen?

thanks in advance
Hervinder


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 142
Default The Cell formats keep changing itself from text to date



Check and see if in your macro there is a format being called out ( then
just change it )
If not, you can add this to your macro

( this one formats ALL the cells in the sheet to "General"


Cells.Select
Selection.NumberFormat = "General"

"Hervinder" wrote:

I have a macro that is picking up from a list on a seperate worksheets a bank
sort code being

12-34-56

The macro is then putting this code into another worksheet. But in the
worksheet the code is being put into the format keeps changing itself to
date. I have tried changing it to text and saving it but when the macro is
run the format changes to date and the code is no good.

Is this something within the settings such as auto correct or options that
is causing this to happen?

thanks in advance
Hervinder


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default The Cell formats keep changing itself from text to date

You can d
"Hervinder" wrote in message
...
I have a macro that is picking up from a list on a seperate worksheets a
bank
sort code being

12-34-56

The macro is then putting this code into another worksheet. But in the
worksheet the code is being put into the format keeps changing itself to
date. I have tried changing it to text and saving it but when the macro
is
run the format changes to date and the code is no good.

Is this something within the settings such as auto correct or options that
is causing this to happen?

thanks in advance
Hervinder




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
Cell colors or text color changing when date in cell gets closer. Chase Excel Worksheet Functions 5 October 19th 06 08:57 AM
Mileage Claim Formula johndavies New Users to Excel 4 August 14th 06 09:24 AM
Changing Imported Date Formats Craig Lloyd Excel Worksheet Functions 0 December 20th 05 12:51 PM
converting text in cell to a date time Herman Excel Worksheet Functions 3 October 22nd 05 07:18 PM
How to stop text changing to date Abbi Excel Discussion (Misc queries) 2 June 7th 05 08:49 PM


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