Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-07-2023, 06:17 PM
CraigMartin CraigMartin is offline events with microsoft word are no running Windows 7 64bit events with microsoft word are no running Office 97-2003
Novice
events with microsoft word are no running
 
Join Date: Apr 2022
Posts: 1
CraigMartin is on a distinguished road
Default events with microsoft word are no running

Using events with the Application object (Word) | Microsoft Learn



I have followed the steps declare object variable

Public WithEvents App As Word.Application

I have written an event:

Private Sub App_DocumentChange()
MsgBox "application change document app ran "
End Sub

I have written the declared object

Dim X As New EventClassModule
Sub Register_Event_Handler()
Set X.App = Word.Application
End Sub

I do not understand how to Run the Register_Event_Handler procedure above.

nothing seems to work
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2017 + VSTO 2015 events ArtKilp Word VBA 0 11-20-2018 08:57 AM
Running Calculations in MS Word ha2014 Word 1 02-05-2014 05:03 PM
events with microsoft word are no running Word 2003 Macro problem running in Word 2010 norwood Word VBA 2 02-03-2014 06:49 PM
events with microsoft word are no running Backup Microsoft Outlook profile and calendar events and address book zillah Outlook 1 08-20-2011 06:19 PM
events with microsoft word are no running Does Word have an "Events log? Balliol Word 1 05-26-2011 12:57 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:03 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft