Hello,
I have two workbooks. Test1.xls and Text2.xls
The Test1 workbook has 3 worksheets(sheet1, sheet2 and sheet3)
I have 2 userforms in workbook Test1.
On Workbook open event, I use this codes in “ThisWorkbook”:
and
On Userform1 I have a button that forwards to Sheet2 that opens the Userform2 using this code:
When I choose or open the Test2 file, I hide or Unload the UserForm2 ( Using the Private Sub Workbook_Deactivate() event which it is working)
Now, the problem is:
when I will go back to Test1 file, I want to show the UserForm2 again in vbModeless.
How can I do this?
Does anybody can help?
Thank you
Moderator Note:
Pls use code tags around your code next time as per forum rules.
Bookmarks