![]() |
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Hi Charles,
been fiddling and tweaking and this code works Code:
Sub ShowForm1(control As IRibbonControl) iUserForm1.Show vbModeless End Sub Sub HideForm1(control As IRibbonControl) iUserForm1.Hide End Sub The macros for showing the form were the same - as it was in a different template i thought this would be ok ![]() They were both named Sub ShowForm() Sub HideForm() So for the iUserform I renamed it to Sub ShowForm1() Sub Hideform1() it seems to be picking up the user form now. Let me do some more testing..but i am on the right track i think ![]() thanks dan |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Agenda template - userform
|
kennyD | Word | 4 | 04-07-2015 01:32 PM |
| userform to enter multiple lines of data in template | callasabra | Word VBA | 0 | 06-27-2014 05:29 PM |
| 5941 requested member of collection does not exist Prevents Userform from Showing | marksm33 | Word VBA | 1 | 02-22-2014 08:56 AM |
| showing a userform after hiding | jillapass | Word VBA | 0 | 05-31-2012 06:13 AM |
| How to get Outlook 2007 userform into template? | Royzer | Outlook | 0 | 04-13-2012 10:41 AM |