View Single Post
 
Old 01-01-2020, 02:57 AM
tamasig tamasig is offline Mac OS X Office 2016 for Mac
Novice
 
Join Date: Dec 2019
Posts: 2
tamasig is on a distinguished road
Default

Thanks, @jeffreybrown. Because I wanted to write a code that is more general than specifying the actual path, I replaced the Source with NormalTemplate.FullName; however, even in that case Word crashed repeatedly. This kept happening until I also changed ActiveDocument to ActiveDocument.FullName.

The final code then is the following:

Code:
Application.OrganizerCopy Source:=NormalTemplate.FullName, Destination:=ActiveDocument.FullName, Name:="Comment Text", Object:=wdOrganizerObjectStyles
Many thanks,
tamasig
Reply With Quote