DocProperty vs DocVariable
I started a thread about how two companies can share a document. I have another question about that. The other company originates the document, so I am trying to use their format as a starting point. I was going to use a lot of IF fields to toggle terms that switch between the two companies:
{IF {DOCVARIABLE CompanyName}="Acme" "Star" "Meteor"}
Problem: the other company's documents already have quite a few DocProperty fields that seem intended for this purpose. If it's OK to use DocProperties this way, I need to toggle them. I just tried writing a macro to do this, and could not record it. Does anyone know VBA to do this?
|