The Cell formats keep changing itself from text to date

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top