[Solved] How to use Excel while VBA userform is open?
0
28/11/2022 2:56 pm
Topic starter
How do I make it so I can still use Excel (use worksheets and enter data into cells) while a vba userform is open?
Right now, once my userform is open I can't use anything else on Excel until the form is closed.
Answer
Add a comment
Add a comment
1 Answer
2
28/11/2022 3:12 pm
Userforms can be open in two states:
- vbModal
- vbModeless
vbModal takes full control over Excel and won't allow input any worksheet window until the userform is closed.
vbModeless opens the userform window but still allows user to interact with any open worksheets and other Excel functions.
In your case, to fix your problem - open your userform using vbModeless.
Sub OpenUserform() Userform.Show vbModeless End Sub
Hope this helps.
Add a comment
Add a comment
Forum Information
- 3 Forums
- 5 Topics
- 7 Posts
- 0 Online
- 5 Members
Our newest member: PillsOwexy
Latest Post: Hi - Introduction
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed