Hi guys,
Bit of a strange one here making me lose some hair, I have a macro in a spreadsheet that compares a list of 2 sets of files to check that all have been processed in both locations this now needs to be done only on files processed on a particular date that is in a column in each spreadsheet.
The problem I am having is when I open one spreadsheet through the macro it is fine and the date format remains in UK type, the other spreadsheet though is changing the date to an american format date and removing the custom cell format and replacing the cell format as a general number format. I have not got any code that is checking or modifying cell formats so bit confused why this would change just by opening the spreadsheet.
Anyone got any ideas?? Obviously I can code around this to reformat that column of data but just wondering why the hell excel would just start changing things??
Bit of a strange one here making me lose some hair, I have a macro in a spreadsheet that compares a list of 2 sets of files to check that all have been processed in both locations this now needs to be done only on files processed on a particular date that is in a column in each spreadsheet.
The problem I am having is when I open one spreadsheet through the macro it is fine and the date format remains in UK type, the other spreadsheet though is changing the date to an american format date and removing the custom cell format and replacing the cell format as a general number format. I have not got any code that is checking or modifying cell formats so bit confused why this would change just by opening the spreadsheet.
Anyone got any ideas?? Obviously I can code around this to reformat that column of data but just wondering why the hell excel would just start changing things??