none
Referencing Custom Quick Parts Building Blocks in VBA RRS feed

  • Question

  • Hello,

    I have a template that contains a variety of custom quick parts build blocks "customQP.dotx".

    I want to be able to reference these building blocks while using VBA but have been unable to figure out how.

    Set objBB = objTemplate.BuildingBlockEntries("CustomBB1") returns this error "The requested member of the collection does not exist."

    I have confirmed that the build block does exist.  I have also confirmed that this language works because it will return build blocks from MS Word's base build blocks file.

    How do I reference the building blocks in my custom file?

    Thanks in advance!

    Wednesday, August 7, 2013 6:03 PM

All replies