Well, I have a search macro that has been working great. There is a formula in the last column that is either "TRUE" or "FALSE" depending on if the row has a word matching the search. This is filtered through the macro and allows for only the "TRUE" rows to show up.
The problem I am having is that I would like to update this data through a connection I've set up, but it seems that this can only be executed by means of a table. With that, I was wondering if this code can be altered to allow it to search through a table without converting the data into a range.
The code is as follows:
Thanks for the help!
The problem I am having is that I would like to update this data through a connection I've set up, but it seems that this can only be executed by means of a table. With that, I was wondering if this code can be altered to allow it to search through a table without converting the data into a range.
The code is as follows:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("A3")) Is Nothing Then
If Range("A3") = "" Then
On Error Resume Next ' in case autofilter not applied
ActiveSheet.ShowAllData
Else
Range("A7:E1764").AutoFilter Field:=6, Criteria1:="TRUE"
End If
End If
End Sub
Thanks for the help!