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 / Programming / July 2007

Tip: Looking for answers? Try searching our database.

Adding a text box forces an "Enable Macros" prompt

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jmac60 - 05 Jul 2007 19:56 GMT
I have created five .dot format files, all with security set to medium and
one test box, from unprotected .doc format forms .
When creating a sixth .dot format file, opening the .dot forces an "enable
macros" prompt. It does not do this on the other files. If the text box is
removed, so is the enable macros dialog box.
Any ideas?
Thanks
Ed - 07 Jul 2007 16:02 GMT
Hi jmac60,

Not sure if this is relevant to your problem ...

As far as I know, textboxes created using the Forms toolbar don't trigger
the security prompt but textboxes created from the Control Toolbox toolbar do
(assuming your macro security level is set to generate the prompt). In my
case, though, if I create a textbox from the Controls Toolbox toolbar (in
Word 2003 or 97), I still get the prompt even after I have deleted the
textbox, so this may not be your issue.

If this isn't relevant, post back with details of the Word version and of
exactly how you're creating the textbox and someone may be able to suggest
something.

Regards.

Ed

> I have created five .dot format files, all with security set to medium and
> one test box, from unprotected .doc format forms .
[quoted text clipped - 3 lines]
> Any ideas?
> Thanks
jmac60 - 07 Jul 2007 17:48 GMT
Thanks Ed...
I'm using Word 2003 with macro security set to medium.
Trying to figure out why out of a half dozen documents that were created
using  Control Text boxes, four don't prompt for 'enable macros' and two do
prompt.

Can macro security be attached to a document or is it global?    

> Hi jmac60,
>
[quoted text clipped - 22 lines]
> > Any ideas?
> > Thanks
Ed - 07 Jul 2007 18:30 GMT
Hi jmac60,

I believe that the macro security level is an application-level setting, not
a document-level one.

So far I have only found one (unlikely) way to have a Control textbox in a
document and not get the security prompt (when my security level for Word is
set to medium) and that is to save the document as a .rtf file and then
re-save it as a .doc.

> I have created five .dot format files, all with security set to medium and
> one test box, from unprotected .doc format forms .

Can you elaborate on what you mean by "unprotected .doc format forms"? I
don't quite get your meaning here.

Regards.

Ed

> Thanks Ed...
> I'm using Word 2003 with macro security set to medium.
[quoted text clipped - 30 lines]
> > > Any ideas?
> > > Thanks
 
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.