Re: Accessing VBA code from external program through Automation by Tony
Tony
Wed Feb 15 04:03:48 CST 2006
Yes, and Yes - but in Word 2003 (and 2002?) the user must have explictly
allow access to the VB Project.
Subject to the user option, you can look at, and change, any or all of the
code via DocumentRef.VBProject and its properties and methods.
--
Enjoy,
Tony
"Jo Siffert" <jo.siffert@gmx.net> wrote in message
news:erJRCLgMGHA.2992@tk2msftngp13.phx.gbl...
> Hi,
>
> is it possible to extract the VBA source stored in a DOT from an
> external program using the Word Automation interface?
> Second, is it possible to alter this source code from an external program?
>
> Thanks in advance,
> Jo