Hello all!
I have been looking into making a macro that copies a sheet into a new workbook for a whole month. In perusing the site i found an old thread that had this same issue. With a little tweaking to make it suit my needs i was able to have it run the macro for all 14 sheets i need just fine. It isn't until after i ran all of them that i noticed i could not open them once closed. The error i would receive stated "Excel cannot open the file 'FILE NAME' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.". I then noticed if i go to save the file once ran before closing it i can convert it to the new format and i do not have this issue. Is there a macro that will automatically convert to the newest format and save so i do not have this issue again OR is there an old part of this code that needs updated?
Below find the code.
Bookmarks