I have several Word Documents(forms) that were tagged using DocuCorp's DocuMaker. I am needing to make some changes to these tags to reflect a new naming convention. Is there a way to programatically read/change attributes of the tags?
What are the tags? I use DocVariables (Insert / Field / Document Automation / DocVariable) and to make all them visible I press ALT+F9. Maybe ALT+F9 will display your "tags". To display a field at a time, right-click on the field and select Toggle field codes.
They are embedded OLE tags. We are interested in stripping the tag and replacing with a form field. However, we need to be able to get the tag name so that we can name the new form field appropriately. These are documents that are normally edited by hand and the tags(fields) were created using a third party tool from DocuCorp called DocuMaker. I guess the issue is how can I access attributes of these "tags"? I'm new to VBA. I am wondering if we can access these properties with the OLEFormat method and get the name and then use the ConvertTo method to get the form field. Am I way off base here?
I don't know. You're way off my base though becuase I've never come close to any OLEFormat. Everthing I know came from recording macros and "stealing" the VBA code from the macro. I know VB but the Word Object Model is a different animal.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.