![]() |
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Code:
<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui"> <ribbon> <tabs> <tab id="UserForm" label="Userform" > <group id="customGroup" label="Custom Group" visible="false" > <button id="Btn1" label="UserForm" image="UserForm" onAction="ShowForm"/> <button id="Btn2" label="Hide User Form" image="Hide" onAction="HideForm"/> </group> in a module i have this Code:
Sub ShowForm(control As IRibbonControl) iUserForm1.Show vbModeless End Sub Sub HideForm(control As IRibbonControl) iUserForm1.Hide end sub |
|
|
|
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 |