I added a VBA Form userform
and a Module Module1
in a Excel by opening the Microsoft VBA editor (Alt+F11) from the Excel.
Now, whenever I open any other Excel, pressing Alt+F11 takes me to the VBA editor and shows up that userform
and the Module1
.
The userform
and Module1
is basically getting tied to every Excel sheet I open?
What am I doing wrong?
How do I make sure my form is attached to the particular Excel sheet only and not others?