Article ID: 188441
Article Last Modified on 6/17/2005
Public gMyVar As Integer
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
gMyVar = gMyVar + 1
MsgBox gMyVar
End Sub
Sub General_Module()
gMyVar = gMyVar + 1
MsgBox gMyVar
End Sub
Public gMyVar As Integer
from the module associated with Sheet1 and paste it into the general
declarations section of the general module.
179216 OFF98: How to Use the Microsoft Office Installer Program
Additional query words: XL98
Keywords: kbhowto kbprogramming KB188441