Unwanted control toolboxes

G

G.G.Yagoda

In Word 2000 VBA control toolboxes appear in the upper left and lower
right corners, unbidden, when documents are opened. The lower right
toolbox shows only a triangle.
What causes this and how can I get rid of it?
 
J

Jay Freedman

G.G.Yagoda said:
In Word 2000 VBA control toolboxes appear in the upper left and lower
right corners, unbidden, when documents are opened. The lower right
toolbox shows only a triangle.
What causes this and how can I get rid of it?

It's caused by having controls in the document from the toolbox (which are
ActiveX, and thus considered to be in the same virus threat class as unknown
macros), and having macros disabled, either by a macro security of High or
by having a Medium level and clicking the Disable Macros button in the
warning box.

There are several ways to get rid of it:

- Set the macro security level (Tools > Macro > Security) to Medium and
click Enable Macros in the warning box. [A Low level is not recommended.]
- Instead of putting the controls in a document, put them in the document's
template and store that in the usual User Templates folder. Also, in second
tab of the Security dialog, check "Trust all installed add-ins and
templates".
- Don't use ActiveX controls. Instead, use either form fields (which require
protecting the document) or a userform (custom dialog box built in VBA). See
the site in my signature for more info.
 
M

Montana DOJ Help Desk

Word 2000

I was having the same problem. However, in my case, there were no Active X
controls in the document, although there is a custom toolbar with a number
of custom buttons, and the project makes use of several custom user forms.

I appear to have solved the problem by deleting the document, and creating a
new document based on the template.

-- Tom

State of Montana
Department of Justice Help Desk

"Making the world a safer place."
Jay Freedman said:
G.G.Yagoda said:
In Word 2000 VBA control toolboxes appear in the upper left and lower
right corners, unbidden, when documents are opened. The lower right
toolbox shows only a triangle.
What causes this and how can I get rid of it?

It's caused by having controls in the document from the toolbox (which are
ActiveX, and thus considered to be in the same virus threat class as unknown
macros), and having macros disabled, either by a macro security of High or
by having a Medium level and clicking the Disable Macros button in the
warning box.

There are several ways to get rid of it:

- Set the macro security level (Tools > Macro > Security) to Medium and
click Enable Macros in the warning box. [A Low level is not recommended.]
- Instead of putting the controls in a document, put them in the document's
template and store that in the usual User Templates folder. Also, in second
tab of the Security dialog, check "Trust all installed add-ins and
templates".
- Don't use ActiveX controls. Instead, use either form fields (which require
protecting the document) or a userform (custom dialog box built in VBA). See
the site in my signature for more info.
 
R

ricnaff

Mr. Freedman,

I'm having much the same problem, and I read your replies in this and
similar threads. What I would appreciate knowing is, how do I get rid of my
macro or accidental VBX or whatever? I want to delete it from the Word file
altogether.

In my case, I have a Master Document. It has something like 30 subdocs. I
got a bit bored with all the navigating by mouse to expand all subdoc each
time I opened the master. I though I'd get tricky and "record a new macro" to
do this. I did. I placed it on the outline toolbar, but as I couldn't assign
an icon, it took too much horizontal width and caused truncation problems on
the outline toolbar. So I dragged it off that toolbar and into never-never
land.

I've checked my Tools/Macro management and found I only have Adobe PDF in
either my document or my template. The macro appears to be gone, bust
obviously isn't.

So where is it? What kind of critter spray do I need to delete all macros
from my document, as at this point, I want them all GONE GONE GONE! I'd
prefer not to hassle with disabling macros every time I start. I just want
the whole thing to stop giving me my toolbox toobars and/or asking if I want
to disable macros. Any ideas?

Thanks!
Ric Naff

Jay Freedman said:
G.G.Yagoda said:
In Word 2000 VBA control toolboxes appear in the upper left and lower
right corners, unbidden, when documents are opened. The lower right
toolbox shows only a triangle.
What causes this and how can I get rid of it?

It's caused by having controls in the document from the toolbox (which are
ActiveX, and thus considered to be in the same virus threat class as unknown
macros), and having macros disabled, either by a macro security of High or
by having a Medium level and clicking the Disable Macros button in the
warning box.

There are several ways to get rid of it:

- Set the macro security level (Tools > Macro > Security) to Medium and
click Enable Macros in the warning box. [A Low level is not recommended.]
- Instead of putting the controls in a document, put them in the document's
template and store that in the usual User Templates folder. Also, in second
tab of the Security dialog, check "Trust all installed add-ins and
templates".
- Don't use ActiveX controls. Instead, use either form fields (which require
protecting the document) or a userform (custom dialog box built in VBA). See
the site in my signature for more info.
 
J

Jay Freedman

Hi Ric,

When you write or record a macro in a Word document, it sets up an
area in the document to support it. If you delete the macro, that
support area is still there, and that's what triggers the behavior you
see. Yes, the macro is gone, but its "home" is still there.

To get rid of it, use File > Save As to save the document in Rich Text
Format (RTF). Since that format doesn't support macros, it just throws
away the support area. Then you can open the RTF file and use File >
Save As to save it as a Word document (.doc) file that will be free of
macro crud.

--
Regards,
Jay Freedman
Microsoft Word MVP

Mr. Freedman,

I'm having much the same problem, and I read your replies in this and
similar threads. What I would appreciate knowing is, how do I get rid of my
macro or accidental VBX or whatever? I want to delete it from the Word file
altogether.

In my case, I have a Master Document. It has something like 30 subdocs. I
got a bit bored with all the navigating by mouse to expand all subdoc each
time I opened the master. I though I'd get tricky and "record a new macro" to
do this. I did. I placed it on the outline toolbar, but as I couldn't assign
an icon, it took too much horizontal width and caused truncation problems on
the outline toolbar. So I dragged it off that toolbar and into never-never
land.

I've checked my Tools/Macro management and found I only have Adobe PDF in
either my document or my template. The macro appears to be gone, bust
obviously isn't.

So where is it? What kind of critter spray do I need to delete all macros
from my document, as at this point, I want them all GONE GONE GONE! I'd
prefer not to hassle with disabling macros every time I start. I just want
the whole thing to stop giving me my toolbox toobars and/or asking if I want
to disable macros. Any ideas?

Thanks!
Ric Naff

Jay Freedman said:
G.G.Yagoda said:
In Word 2000 VBA control toolboxes appear in the upper left and lower
right corners, unbidden, when documents are opened. The lower right
toolbox shows only a triangle.
What causes this and how can I get rid of it?

It's caused by having controls in the document from the toolbox (which are
ActiveX, and thus considered to be in the same virus threat class as unknown
macros), and having macros disabled, either by a macro security of High or
by having a Medium level and clicking the Disable Macros button in the
warning box.

There are several ways to get rid of it:

- Set the macro security level (Tools > Macro > Security) to Medium and
click Enable Macros in the warning box. [A Low level is not recommended.]
- Instead of putting the controls in a document, put them in the document's
template and store that in the usual User Templates folder. Also, in second
tab of the Security dialog, check "Trust all installed add-ins and
templates".
- Don't use ActiveX controls. Instead, use either form fields (which require
protecting the document) or a userform (custom dialog box built in VBA). See
the site in my signature for more info.
 
R

ricnaff

Excellent idea, thanks!

Jay Freedman said:
Hi Ric,

When you write or record a macro in a Word document, it sets up an
area in the document to support it. If you delete the macro, that
support area is still there, and that's what triggers the behavior you
see. Yes, the macro is gone, but its "home" is still there.

To get rid of it, use File > Save As to save the document in Rich Text
Format (RTF). Since that format doesn't support macros, it just throws
away the support area. Then you can open the RTF file and use File >
Save As to save it as a Word document (.doc) file that will be free of
macro crud.

--
Regards,
Jay Freedman
Microsoft Word MVP

Mr. Freedman,

I'm having much the same problem, and I read your replies in this and
similar threads. What I would appreciate knowing is, how do I get rid of my
macro or accidental VBX or whatever? I want to delete it from the Word file
altogether.

In my case, I have a Master Document. It has something like 30 subdocs. I
got a bit bored with all the navigating by mouse to expand all subdoc each
time I opened the master. I though I'd get tricky and "record a new macro" to
do this. I did. I placed it on the outline toolbar, but as I couldn't assign
an icon, it took too much horizontal width and caused truncation problems on
the outline toolbar. So I dragged it off that toolbar and into never-never
land.

I've checked my Tools/Macro management and found I only have Adobe PDF in
either my document or my template. The macro appears to be gone, bust
obviously isn't.

So where is it? What kind of critter spray do I need to delete all macros
from my document, as at this point, I want them all GONE GONE GONE! I'd
prefer not to hassle with disabling macros every time I start. I just want
the whole thing to stop giving me my toolbox toobars and/or asking if I want
to disable macros. Any ideas?

Thanks!
Ric Naff

Jay Freedman said:
G.G.Yagoda wrote:
In Word 2000 VBA control toolboxes appear in the upper left and lower
right corners, unbidden, when documents are opened. The lower right
toolbox shows only a triangle.
What causes this and how can I get rid of it?

It's caused by having controls in the document from the toolbox (which are
ActiveX, and thus considered to be in the same virus threat class as unknown
macros), and having macros disabled, either by a macro security of High or
by having a Medium level and clicking the Disable Macros button in the
warning box.

There are several ways to get rid of it:

- Set the macro security level (Tools > Macro > Security) to Medium and
click Enable Macros in the warning box. [A Low level is not recommended.]
- Instead of putting the controls in a document, put them in the document's
template and store that in the usual User Templates folder. Also, in second
tab of the Security dialog, check "Trust all installed add-ins and
templates".
- Don't use ActiveX controls. Instead, use either form fields (which require
protecting the document) or a userform (custom dialog box built in VBA). See
the site in my signature for more info.
 

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