Thread: [Solved] Problem closing document
View Single Post
 
Old 05-16-2025, 05:14 AM
Italophile Italophile is offline Windows 11 Office 2021
Expert
 
Join Date: Mar 2022
Posts: 554
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

Quote:
Originally Posted by eduzs View Post
This is in "ThisDocument" object.
This is a entire new docm I created just to test.
All documents are based on, and remain connected to, a template. In this case it is probably your Normal.dotm.

The "ThisDocument" module is present in a template, including Normal.dotm as well as a document, so you haven't really told us where your code is.
Reply With Quote