Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I find / remove a Macro in Word 2002 1

Status
Not open for further replies.

Madawc

Programmer
Sep 5, 2002
7,628
GB
A document created by someone else has a macro set up. I thought it was for displaying a screen layout, but when I removed that section the macro was still there. Can someone please tell me how I find where it is, or where I got to remove it?

I'm aware I could get rid of it by copying the document with Paste Special > Unformatted. But almost all of the formatting is needed and correct. The macro is only a minor nuisance, but it would be nice to be rid of it.

I don't normally use Word macros.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
[ul][li]Alt+F11 to open the VBE[/li]
[li]Ctrl+R to open/go to the Project Explorer[/li]
[li]Find your document in the list - it will probably say Project(documentName)[/li]
[li]Expand it with the + sign[/li]
[li]In the Microsoft Word Objects branch[/li]
[ul]
[li]Double click (to open) ThisDocument[/li]
[li]If there is any content in the main window, select it all and press Delete[/li]
[/ul]
[li]In the Modules branch (if present)[/li]
[ul]
[li]Right click each member in turn and select "Remove whatever"[/li]
[li]Reply "No" to the prompt(s)[/li]
[/ul]
[li]Repeat for the Class Modules branch (if present)[/li]
[li]Repeat for the Forms branch (if present)[/li]
[/ul]

Enjoy,
Tony

------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.

I'm working (slowly) on my own website
 
Thanks, that got rid of it.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top