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!

Re: Return value of custom property using VBA in Word 2007 80 80

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?

Re: Return value of custom property using VBA in Word 2007 80 80

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.