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
 
Top