View Single Post
 
Old 07-10-2015, 07:52 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,471
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Word has no OnEnter event. Aside from intercepting events like Save and Print, you can use a class module to capture a limited range of events:
• Quit
• DocumentChange
• DocumentBeforeClose
• DocumentBeforePrint
• DocumentBeforeSave
• DocumentOpen
• NewDocument
• WindowActivate
• WindowBeforeDoubleClick
• WindowBeforeRightClick
• WindowDeactivate
• WindowSelectionChange
You could use the last of these to test whether the user has clicked in a table. For some code you could adapt to that end, see: http://word.mvps.org/FAQs/Customizat...PlusHeader.htm
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote