Tag: VBA Editor

  • UserForms in Word Macros and VBA

    We had earlier seen an example Macro for inserting date and time. We will use the same example but replace MsgBox with UserForms. The users will be displayed the following form and based on the user input the date and time will be inserted in the document. Step 1: Insert a UserForm by right clicking…