IncurableTrekkie
New Member
- Joined
- Oct 13, 2015
- Messages
- 14
hi all, I'm stumped with this problem. I have a spreadsheet that uses doubleclick macros on various sheets to return a value to another sheet and it's been working perfectly since the beginning. Now all of a sudden the double click event doesn't trigger, just puts you in edit mode in the cell.
The only thing I have done in the last few days is to add another macro using the calculate event to highlight if there is a filter on anywhere in the sheet (I copied that from this site and it worked fine).
I've removed all vestiges of that macro and the double click still doesn't work.
I must be something that I've done, I'm not a VB expert but I'm in big trouble unless I can get this working again.
thanks in advance for all your help, here's the miscreant macro.
The only thing I have done in the last few days is to add another macro using the calculate event to highlight if there is a filter on anywhere in the sheet (I copied that from this site and it worked fine).
I've removed all vestiges of that macro and the double click still doesn't work.
I must be something that I've done, I'm not a VB expert but I'm in big trouble unless I can get this working again.
thanks in advance for all your help, here's the miscreant macro.
Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Dim SourceCol As Integer
Dim LinkName As String
SourceCol = ActiveCell.Column
' If double click is in column C Pass a name to the Input screen
If SourceCol = 3 Then
LinkName = ActiveCell
LinkToAuditInput (LinkName)
End If
' If double click is in column AR Pass a name to the courses filter
If SourceCol = 49 Then
FilterCourses
End If
End Sub
Last edited by a moderator: