HighAndWilder
Well-known Member
- Joined
- Nov 4, 2006
- Messages
- 661
- Office Version
- 365
- Platform
- Windows
Hi
I am loading a userform from workbook1 which contains code behind a command button to select another workbook (workbook2)
and load it.
I want the active workbook to be workbook1 but despite activating this workbook the active workbook remains workbook2
If after loading workbook2 I use msgbox to display a name of the workbook, or anything at all in fact, the code to activate workbook1 works.
I have experiencd this before.
I'd like the form to sit on top of the active workbook. Changing the active workbook from the form does not do this.
Any clues anybody?
Thanks
I am loading a userform from workbook1 which contains code behind a command button to select another workbook (workbook2)
and load it.
I want the active workbook to be workbook1 but despite activating this workbook the active workbook remains workbook2
If after loading workbook2 I use msgbox to display a name of the workbook, or anything at all in fact, the code to activate workbook1 works.
I have experiencd this before.
I'd like the form to sit on top of the active workbook. Changing the active workbook from the form does not do this.
Any clues anybody?
Thanks