Hi,
I was wondering if there was any way for vba code to automatically minimize all the open workbooks when i press a button on a form. Example:
lets say that i have 2 open workbooks and i run my macro and part of that macro i want to minimize all open workbooks at the time. The only thing is that i dont know how many workbooks it is, and it could be none also. So basically i want to check if there is open workbooks other then the one im opening, and if so close all the other workbooks, along with maximize the one that im just opening with my macro. Any ideas?
thanks guys
I was wondering if there was any way for vba code to automatically minimize all the open workbooks when i press a button on a form. Example:
lets say that i have 2 open workbooks and i run my macro and part of that macro i want to minimize all open workbooks at the time. The only thing is that i dont know how many workbooks it is, and it could be none also. So basically i want to check if there is open workbooks other then the one im opening, and if so close all the other workbooks, along with maximize the one that im just opening with my macro. Any ideas?
thanks guys