Hello Excel Gurus,
How to save ThisWorkbook with two different names and locations please.
In cell H2 and H3 is the filename already been given in the sheet named HSheet of ThisWorkbook, generated via formula.
H2=
H3=
OR
H3=
You could see that not just the filenames are different but the locations can also be different for each file as well. However, the location of H3 does not exisit yet in windows explorer directory . So the code should be able to make one for saving the file inside that location. For example, 2021\
For H2 the location is already been made. And in case if the file already exists then overwrite it without any prompts. I hope it can be made possible.
Thanks and will appreciate a whole lot.
How to save ThisWorkbook with two different names and locations please.
In cell H2 and H3 is the filename already been given in the sheet named HSheet of ThisWorkbook, generated via formula.
H2=
C:\Users\Kris Bryant\Share\2020\11-2020.xlsb |
H3=
C:\Users\Kris Bryant\Share\2020\12-2020.xlsb |
H3=
C:\Users\Kris Bryant\Share\2021\01-2021.xlsb |
You could see that not just the filenames are different but the locations can also be different for each file as well. However, the location of H3 does not exisit yet in windows explorer directory . So the code should be able to make one for saving the file inside that location. For example, 2021\
For H2 the location is already been made. And in case if the file already exists then overwrite it without any prompts. I hope it can be made possible.
Thanks and will appreciate a whole lot.
Last edited: