I have created a MODELESS userform which I want to make some worksheets specific only.
I was trying the following code inside a particular worksheet (mySHEET) module
Problem is, when user opens mySHEET(frmMenu is shown) and without deactivating mySHEET, he opens another workbook window, frmMenu is still showed. This is unexpected.
How do I solve the issue?
I was trying the following code inside a particular worksheet (mySHEET) module
Code:
Private Sub Worksheet_Activate()
frmMenu.Show vbModeless
End Sub
Private Sub Worksheet_Deactivate()
Unload frmMenu
End Sub
How do I solve the issue?