M
matelot
I want the user to do a multi-select in a column using the ctrl+click and
doubleclick on the last selected row. Using the beforedoubleclick event on a
sheet doesn't capture the event at all. It only works when I double click on
1 cell.
Here's what I am using.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
Cancel = True
If Intersect(Range("A:A"), Target) Is Nothing Then
Else
MsgBox ActiveWindow.RangeSelection.Address
End If
End Sub
Is the function "Range.Address" the only way to capture the different row in
the selection range? I just want to know the row that it's selected.
Can anyone help me.
Thanks
doubleclick on the last selected row. Using the beforedoubleclick event on a
sheet doesn't capture the event at all. It only works when I double click on
1 cell.
Here's what I am using.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
Cancel = True
If Intersect(Range("A:A"), Target) Is Nothing Then
Else
MsgBox ActiveWindow.RangeSelection.Address
End If
End Sub
Is the function "Range.Address" the only way to capture the different row in
the selection range? I just want to know the row that it's selected.
Can anyone help me.
Thanks