Hi All,
I have been running some code that people on here helped me loads with for about a month without any issues, now all of a sudden today it has decided to stop working correctly...
To give a bit of background I receive a file from one of my colleagues every day that needs to be sorted and formatted, then the relevant information for each specific agent is saved into a new worksheet in a specific directory. When I run the code (using Ctrl+q as a shortcut), before creating the worksheets it brings up a compatability error (as I'm creating the new worksheets in .xls as my colleagues are still on xl2003), then asks me if I would like to recalculate all formulas, then the files are created correctly.
Today however was different - after pressing Ctrl+q, the compatability error message box flashed up straight away, then when I clicked ok it continued to pop up for every single file that was being created (where it only popped up once before), then when my colleagues tried to open the files, they found that the date format had changed in the date columns from DD/MM/YYYY to 40779, and when they tried to change it they had an error message saying too many formats???
I've looked at the file I've received today to see if it differs in any way from the one from yesterday and can't see any obvious differences, plus I've also tried rerunning the file from yesterday and it comes up with the same problems as seen with the file from today...
Does anyone have any idea what this could be?
As always thanks for any help you can give!
I have been running some code that people on here helped me loads with for about a month without any issues, now all of a sudden today it has decided to stop working correctly...
To give a bit of background I receive a file from one of my colleagues every day that needs to be sorted and formatted, then the relevant information for each specific agent is saved into a new worksheet in a specific directory. When I run the code (using Ctrl+q as a shortcut), before creating the worksheets it brings up a compatability error (as I'm creating the new worksheets in .xls as my colleagues are still on xl2003), then asks me if I would like to recalculate all formulas, then the files are created correctly.
Today however was different - after pressing Ctrl+q, the compatability error message box flashed up straight away, then when I clicked ok it continued to pop up for every single file that was being created (where it only popped up once before), then when my colleagues tried to open the files, they found that the date format had changed in the date columns from DD/MM/YYYY to 40779, and when they tried to change it they had an error message saying too many formats???
I've looked at the file I've received today to see if it differs in any way from the one from yesterday and can't see any obvious differences, plus I've also tried rerunning the file from yesterday and it comes up with the same problems as seen with the file from today...
Does anyone have any idea what this could be?
As always thanks for any help you can give!