Programmatic Access to Office XP VBA Project Is Denied

F

Flemming Petersen

Hi

I am trying to access the VBE in Word from a AtiveX Addin (written in VB6)
running in Word.

I get this wonderfull error 6068 and trusting access to visual basic project
doesn't do anything for me!

I have a addin which does the same for Excel, and there trusting access to
visual basic project does work.

The line causing the error:
objWordApp.VBE.ActiveVBProjects.VBComponents

Word 2003 seems to have the same "feature".

Any clues?

Best regards
Flemming J P
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top