View Single Post
 
Old 12-05-2022, 06:13 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Given that the userform is in a template, a new document is created when you double-click on the template. Closing that document will also close the template unless another document based on the same template is already open.

If you want the form to remain on-screen so you can edit the document, change its ShowModal property from True to False.

It you want to revise an existing document via the userform, add an AutoOpen macro to your template, then open that document without starting a new one via the template.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote