I have a Word-document which is created in SharePoint. In VBA I get the value from various Content Controls like this:
aProjName = ActiveDocument.ContentTypeProperties("Project name").Value
No problem – I works like a dream.
With the XML Mapping Pane on the Developer-tab, I can see the Content Controls are in
http://schemas.microsoft.com/office/...ata/properties
The problem is to get the value of a Content Control from
http://schemas.microsoft.com/office/...ta/ContentType
I can right-click on the name and insert the content control in the document, but I cannot figure out how to get the value with VBA. Can anyone help?