MS Word macros

J

Jay

The macro code,
For Each menu In ContextMenu.WordMenus
Set cb = Application.CommandBars(menu)
For Each ctl In cb.Controls
If ctl.Tag = "" Then
ctl.Delete
End If
Next ctl
Next menu
deleted all the right-click pop-up menu options(cut, copy, paste...).

How to recover the MSWord2000 right-click pop-up menu, disabled through the macro?
 
J

Jean-Guy Marcil

Jay was telling us:
Jay nous racontait que :
The macro code,
For Each menu In ContextMenu.WordMenus
Set cb = Application.CommandBars(menu)
For Each ctl In cb.Controls
If ctl.Tag = "" Then
ctl.Delete
End If
Next ctl
Next menu
deleted all the right-click pop-up menu options(cut, copy, paste...).

How to recover the MSWord2000 right-click pop-up menu, disabled
through the macro?

Delete Normal.dot (or rename it to save it if needed) and restart Word. This
should bring all menus back to what they were out of the box.

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

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