E
EagleOne
2003, 2007
The following will work when executed.
If Application.VBE.VBProjects.VBE.ActiveCodePane.Window.Caption = "General" Then
MsgBox Application.VBE.VBProjects.VBE.ActiveCodePane.Window.Caption & " is Open"
End if
How can the same logic be coded into a "Monitor" event? Similar to "On error goto" where if a error
occurs while executing a sub proceedure.
In short, when a user opens a specific VBProject code window (Caption: = "General") Then
a MsgBox displays a message like above.
TIA EagleOne
The following will work when executed.
If Application.VBE.VBProjects.VBE.ActiveCodePane.Window.Caption = "General" Then
MsgBox Application.VBE.VBProjects.VBE.ActiveCodePane.Window.Caption & " is Open"
End if
How can the same logic be coded into a "Monitor" event? Similar to "On error goto" where if a error
occurs while executing a sub proceedure.
In short, when a user opens a specific VBProject code window (Caption: = "General") Then
a MsgBox displays a message like above.
TIA EagleOne