colinharwood
Active Member
- Joined
- Jul 27, 2002
- Messages
- 440
- Office Version
- 365
- Platform
- Windows
I have the following code to search for a row using the filter option, but cannot work out what to put in the *Range("???? ").Select* line of code.
I have tried allsorts, but because the label row and the filtered row are selected during the filter process I cannot select the col in the filtered result.
What code do I need to select col 10 in the filtered list.
VBA Code:
Sub FindMember()
Sheets("Members").Select
Range("A5:AF95").Select
Selection.AutoFilter
ActiveSheet.Range("$A$5:$AF$95").AutoFilter Field:=1, Criteria1:=Sheets("PDF Membership Card").Range("X2").Value
*Range("???? ").Select*
ActiveCell.FormulaR1C1 = "=TODAY()"
ActiveSheet.Range("$A$5:$AF$95").AutoFilter Field:=1
Selection.AutoFilter
End Sub
I have tried allsorts, but because the label row and the filtered row are selected during the filter process I cannot select the col in the filtered result.
What code do I need to select col 10 in the filtered list.
Last edited by a moderator: