![]() ![]() ![]() If xmlAttribute.BaseName = strAttributeName Then strValue = xmlAttribute. ![]() Click File, and then look for Author under Related People on the right. If getAttributeValueByName(xmlNode.Attributes, "nil") = "true" Then setAttributeValueByName xmlNode.Attributes, "nil", "false"įunction getAttributeValueByName(xmlAttributes As CustomXMLNodes, strAttributeName As String) As String To achieve your goal that changes the author name in Word, you can follow the steps below to do that: Mac: 1. Set xmlNode = xmlPart.SelectSingleNode("/ns0:properties/documentManagement/ns3:" & strElementName)įunction setContentTypeProperty(strElementName As String, docDocument As Word.Document, strValue As String) As Boolean HOW TO: Check Document Properties and Remove Author Information (Microsoft Word) Excel at Work 8.64K subscribers Subscribe 145 22K views 3 years ago Microsoft Word Tutorials Check. option is very similar to the Insert->field. Function getContentTypeProperty(strElementName As String, docDocument As Word.Document) As String Field codes In Windows Word, Insert->Quick Parts, you get two submenus relating directly to 'Properties' (and any Building Block might also contain property fields or controls). ![]() I managed to read and write the content type properties by editing the XML of the document using the following functions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |