Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / April 2004

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
J. Verdaasdonk - 31 Mar 2004 18:42 GMT
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, ;
Peter Jamieson - 06 Apr 2004 09:16 GMT
> 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.

Signature

Peter Jamieson - Word MVP
Word MVP web site http://word.mvps.org/

> Hi Everybody, :)
>
[quoted text clipped - 30 lines]
> ------------------------------------------------
> ~~ Message posted from http://www.WordForums.com/
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.