How can i get it to reset the Table were it does the sort the words i have, by selecting all and then search for the word. Thank you
Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Dim dccolumn As Integer
Dim dcvalue As String
dccolumn = ActiveCell.Column
dcvalue = ActiveCell.Value
If Application.Intersect(ActiveCell, [headers]) Is Nothing Then
If ActiveCell.Value <> "" Then
Me.ListObjects(1).Range.AutoFilter Field:=dccolumn + 2, Criteria1:=dcvalue
End If
End If
End Sub
Attachments
Last edited by a moderator: