Hello,

How do I return the value of a custom property in Word 2007 using VBA? Depending on the custom property, I also need to automatically check a checkbox using VBA.

Thanks!

How do I return the value of a custom property in Word 2007 using VBA?

Where is the property? And where do you need to put the value?

What code have you got?

I have a conditional statement that states if the custom property has a certain value, the checkbox should be checked. The code actually works now but I'm having another issue. The code only runs when I manually go into the code and hit run. I've set the macro on the checkbox but I still have to manually run the code.