Hi,
I have multiple files ending with current date, but the start of the filename is always different.
For example "sun_(current date)" and "moon_(current date)" etc. The start of the file names are not known.
I will have the macro file open and one of the multiple files that have different names (but same ending).
I try to activate the window of the workbook that ends with the current date, so that the tabs are inserted over to the macro file.
Only the file with the macro and one other file will be open at the same time.
I could only make it work if the start of the filename is always the same with a different ending.
I can't make it work if the start is different.
I have multiple files ending with current date, but the start of the filename is always different.
For example "sun_(current date)" and "moon_(current date)" etc. The start of the file names are not known.
I will have the macro file open and one of the multiple files that have different names (but same ending).
I try to activate the window of the workbook that ends with the current date, so that the tabs are inserted over to the macro file.
Only the file with the macro and one other file will be open at the same time.
I could only make it work if the start of the filename is always the same with a different ending.
I can't make it work if the start is different.