![]() |
|
#1
|
|||
|
|||
![]()
Thanks.
I am using Mac, and it can't open the UserForm in design view.. So I can't apply your suggestion. How do you find the UserForm name in the code? I only have this in Form Initialize stage Private Sub UserForm_Initialize() With TemplateName .AddItem "Template 1" .AddItem "Template 2" .AddItem "Template 3" .AddItem "Template 4" .AddItem "Template 5" .AddItem "Template 6" End With End Sub••••ˇˇˇˇ |
#2
|
|||
|
|||
![]()
Ok so I found the way to look for the UserForm Name
Debug.Print "Form Name: " & Me.Name But when using what you suggested, Templat_Selection.Show vbModeless it's jump into error handler ***Error pulling document! ErrHandler: Case 0004 **** Any idea why it's bad? |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to determine Windows Zoom level when using multiple monitors with different settings in WordVBA? | skarden | Word VBA | 0 | 09-12-2023 03:49 AM |
instance a new dotm file from a Word dotm file and save with new file name | David Peck | Word VBA | 3 | 08-18-2023 06:47 AM |
I have Error at File System Object: Cant find object or lib | johndrew | Word VBA | 3 | 07-05-2018 08:46 PM |
![]() |
martinlest | Word | 9 | 10-09-2013 01:57 PM |
![]() |
Brian Muth | Word | 1 | 10-09-2012 10:00 PM |