Couple of questions.
I want to apply an advanced filter based on the cell that is double clicked.
This works
I have a few questions
1. The Sheets "Data" is deleted and recreated as part of previous VBA routine, therefore the beforedoubleclick event is removed.
Can I make an beforedoubleclick event for the whole workbook?
2. After the double click, the cell that was clicked is still selected for edit. How can I cancel this selection?
3. I want to clear the filter by pressing ESC on the keyboard. Is it possible to trigger an event from an ESC key press?
I want to apply an advanced filter based on the cell that is double clicked.
This works
Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Global_Filter
End Sub
I have a few questions
1. The Sheets "Data" is deleted and recreated as part of previous VBA routine, therefore the beforedoubleclick event is removed.
Can I make an beforedoubleclick event for the whole workbook?
2. After the double click, the cell that was clicked is still selected for edit. How can I cancel this selection?
3. I want to clear the filter by pressing ESC on the keyboard. Is it possible to trigger an event from an ESC key press?