ricnaff
Sat Mar 12 08:03:04 CST 2005
Excellent idea, thanks!
"Jay Freedman" wrote:
> 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 FAQ:
http://word.mvps.org
>
> On Thu, 10 Mar 2005 17:49:03 -0800, "ricnaff"
> <ricnaff@discussions.microsoft.com> wrote:
>
> >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" wrote:
> >
> >> 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.
> >>
> >> --
> >> Regards,
> >> Jay Freedman
> >> Microsoft Word MVP FAQ:
http://word.mvps.org
> >>
> >>
> >>
>
>