dgchoudary
New Member
- Joined
- Jul 1, 2002
- Messages
- 6
Hi
I am loading a Excel application with Data from the Visual Basic at the same time i need the following event also to be loaded into the active worksheet
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim rngActiveRange As Excel.Range
' Range object returned from the Selection property.
Set rngActiveRange = Selection
Call PrintRangeInfo(rngActiveRange)
End Sub
so that when i click on the each cell this event wiil be fired. how do i load the event into the work sheet from the VB
Thank You
Regrds
Gandhi
I am loading a Excel application with Data from the Visual Basic at the same time i need the following event also to be loaded into the active worksheet
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim rngActiveRange As Excel.Range
' Range object returned from the Selection property.
Set rngActiveRange = Selection
Call PrintRangeInfo(rngActiveRange)
End Sub
so that when i click on the each cell this event wiil be fired. how do i load the event into the work sheet from the VB
Thank You
Regrds
Gandhi