PDA

View Full Version : Solved: Word BeforeDoubleClick Event



markh1182
06-22-2007, 06:25 AM
Hi, Is it possible to have a before double click event in Word like you can have in Excel?

If not, if you double click the TRK option on the status bar, does anyone know how to amend that to trigger a message when that is selected?

Thanks, Mark

markh1182
06-25-2007, 03:29 AM
Anyone any ideas?

fumei
06-25-2007, 10:32 AM
No, there is no BeforeDoubleClick event in Word.

Yes, you can override the Word command that is fired when you double click TRK on the StatusBar.Sub ToolsRevisionMarksToggle()
'Overrides the Tools Track Changes command
MsgBox "ToolsRevisionMarksToggle"
End SubNote that this ALSO overrides the Tools > Track Changes menu command.

The procedure can be placed in any standard module. If it is placed in normal.dot, the toggle will be overridden for ALL documents. If it is in the template (.DOT file) used to create the document - assuming that is not normal.dot - then the toggle will be overridden for all documents created from that template. if it is in the document, it will be overridden for that document.

if you double click the TRK option on the status bar, does anyone know how to amend that to trigger a message when that is selectedTechnically speaking, it is not "selected".

markh1182
06-26-2007, 01:23 AM
thanks very much for the answer.