![]() |
#1
|
|||
|
|||
![]()
I have a simple requirement.
The user types up a document and, when complete, clicks a menu item or toolbar button which brings up a VBA userform. The user answers a few questions on the form, clicks submit and the VBA then prints the document to a PDF file with a name constructed from the userform answers. I have created the userform and tested it, and everything works fine. I am pretty sure I can achieve the print-to-PDF function without problem. What I cannot do is find out how to open the userform from within the document! I have gone round and round in circles playing with macros, templates etc, but I just want a simple explanation of how I can 1) put a button on a toolbar (or create a menu item) and 2) have that button or menu open the userform for the author. Please help! |
Tags |
menu bar, user forms, vba code |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Userform button: the object invoked has disconnected from its clients | letcall | Word VBA | 2 | 08-25-2021 07:58 AM |
.DOTM files not opening as .DOCX with userform | mktate | Word VBA | 3 | 02-26-2016 02:17 PM |
Create a command button that will insert another drop down menu | Tinamation | Word VBA | 1 | 11-06-2015 03:11 PM |
Executing a userform with a command button | spc94 | Word VBA | 2 | 06-24-2015 10:08 PM |
VBA Code in a UserForm module to delete a Command Button which opens the userform | Simoninparis | Word VBA | 2 | 09-21-2014 03:50 AM |