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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA: How to conditionally enable/disable a menu item

Status
Not open for further replies.

jfriestman

Programmer
Sep 3, 1999
61
US
Re: Word 97<br>
I have a custom macro assigned to a menu item. I only want the menu item to be enabled if text is selected in the ActiveDocument. I'm sure this can be done (similar to the Cut/Copy/Paste being conditionally enabled) but for the life of me I can't find where the document object raises an event to let me fire code that enables/disables a menu item. If you have a clue, please fill me in. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top