View Single Post
 
Old 04-12-2024, 08:54 AM
Italophile Italophile is offline Windows 11 Office 2021
Expert
 
Join Date: Mar 2022
Posts: 537
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

Templates are .dotm, documents are .docm.

From your screenshot the code appears to be in your Normal.dotm, which is a template that only you have access to.

Your code uses
Code:
ThisDocument
which refers to the document or template that contains the code. To use the code with the current document use
Code:
ActiveDocument
instead.
Reply With Quote