View Single Post
 
Old 02-07-2014, 01:02 PM
ChrisBrewster ChrisBrewster is offline Windows 7 64bit Office 2010 64bit
Advanced Beginner
 
Join Date: Jan 2014
Posts: 36
ChrisBrewster is on a distinguished road
Default 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?
Reply With Quote