Code:
Sub test()
Dim f As String
Dim ab As String
text= ThisWorkbook.Worksheets("Sheet1").Range("F1").Value
filter = ThisWorkbook.Worksheets("Sheet1").Range("AB1").Value
If text = filter Then
ThisWorkbook.Worksheets("Sheet1").Range("S1").Value = "xxxx"
End If
End Sub
I have code like that, but I would like to setup dynamic range for filter, text and validation column (column S).
Is there any way to make dynamic range with this code?
Thank you!