View Single Post
 
Old 07-09-2024, 11:42 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Firstly, you can import styles from attached template more simply
Code:
ActiveDocument.UpdateStyles              'Imports styles from the attached template
Secondly, where is the code you are running residing? If it is in the attached template and you then change the attached template, how does it stay available? Perhaps place the code in Normal, an addin, or document if it includes changing the attached template.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote