![]() |
|
|
|
#1
|
||||
|
||||
|
OK, how about disabling the user's ability to click the X button on the userform?
Add this to the userform code module Code:
Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) If CloseMode = vbFormControlMenu Then Cancel = True End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to make userform and active document stand side by side | matapagi2019 | Word VBA | 1 | 03-12-2019 06:09 PM |
Show userform without losing document focus? Or other method to get a graphic to pop?
|
AlexR | Word VBA | 7 | 03-31-2013 12:17 PM |
Show Hide info
|
trintukaz | Word | 3 | 12-29-2011 12:23 AM |
VBA to show/hide tables
|
ccordner | Word VBA | 2 | 07-04-2011 03:00 AM |
| VBA to show/hide tables | ccordner | Outlook | 0 | 07-01-2011 05:10 AM |