PDA

View Full Version : Variable name for "Automatically Update Document Styles" on template dialogbox.



scottpon
10-15-2019, 01:19 PM
In Word, I go File->Options->Add-ins-> Manage Templates [Go...] to get to this dialog box:
25286
Does anyone know what the property name is for the checkbox "Automatically update document styles". I would like to get and set this via VBA.

thanks.

gmaxey
10-16-2019, 04:51 AM
ActiveDocument.UpdateStylesOnOpen = True

scottpon
10-22-2019, 02:56 PM
Thanks! that solved my problem!