Options.PrintXMLTag property (Word)
Returns a Boolean that represents whether to print the XML tags when printing a document. Corresponds to the XML tags check box on the Print tab in the Options dialog box. .
expression An expression that returns an Options object.
True indicates that tags are printed. False indicates tags are not printed.
The following example specifies that when documents are printed tags will also be printed.
Options.PrintXMLTag = True
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.