Hi,
This a a nice one. I have recorded a series of macro's and put them together to make a nice reporting tool. These macro get data from other places, rename sheets, etc.
Here's the problem: The whole things only works when excel is shut down and started up again. This is because the macro's work with specific workbook numbers. (so if I open a new workbook )(book 1) and close it again, the new workbook is called book2. The macro start with creating a new workbook which must be called workbook1.
This means that I must restart excel to reset the "new workbook" number to 1 again.
Is there any way in which I can force excel to always name a new wordbook
workbook1 (provides a workbook1 is nog already open)
I hope I made this a bit clear. It's seems quite difficult but i think there is a easy solution.
Thnks!
This a a nice one. I have recorded a series of macro's and put them together to make a nice reporting tool. These macro get data from other places, rename sheets, etc.
Here's the problem: The whole things only works when excel is shut down and started up again. This is because the macro's work with specific workbook numbers. (so if I open a new workbook )(book 1) and close it again, the new workbook is called book2. The macro start with creating a new workbook which must be called workbook1.
This means that I must restart excel to reset the "new workbook" number to 1 again.
Is there any way in which I can force excel to always name a new wordbook
workbook1 (provides a workbook1 is nog already open)
I hope I made this a bit clear. It's seems quite difficult but i think there is a easy solution.
Thnks!