Macro warning using ActiveX controls (Control Toolbox) in ThisDocument?

J

J. Verdaasdonk

Hi Everybody, :)

First things first:
OS Windows XP/PRO (all packs)
Office 2002 XP/PRO (all packs)

I’m not used to working with these (ActiveX-controls) in ThisDocument
(Rather use them in UserForms)

I’m baffled by the difference in Object properties compared to the on
that have parent object. (in UserForms)

First of al ones you have put one control in the document withou
adding any code to the editor you’ll receive the macro warning. As i
you where running a template/document that has any code/module/form i
it?

CAN ANYBODY PLEASE CONFIRM THAT THIS IS THE WAY BILL INDENTED IT? (O
IS THIS SOME KIND OF BUG

I've tried everything I could think off but the warning remains....
Just to be clear what have I done:
Open new document.
Added a TextBox from the Control Toolbox
Saved the document.
Reopend the document. (Bang...warning....)

Note: There is no code/module/form in this document only the Clas
ThisDocument?

Thanks, ;
 
P

Peter Jamieson

CAN ANYBODY PLEASE CONFIRM THAT THIS IS THE WAY BILL INDENTED IT? (OR
IS THIS SOME KIND OF BUG)


I don't know for sure. I've only looked at ActiveX controls in Word briefly
as they really seem to perform badly whenever I've tried them. But my guess
is that MS intended this. Word is just acting as a container. If it contains
an ActiveX control (and you are not limited to the ActiveX controls shown in
the Control toolbox) , my guess is that the control will at least be
initialised when the document is loaded. So Word will be running code which
could do anything. So it is in fact not much different from allowing macro
code to run.
 

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