jordanburch
Active Member
- Joined
- Jun 10, 2016
- Messages
- 440
- Office Version
- 2016
Hey Guys,
I have the below. I just cant figure the syntax out yet. Seems like an easy fix. I just want it to take the value and -1.
the range("a10") is equal to fyi
I have the below. I just cant figure the syntax out yet. Seems like an easy fix. I just want it to take the value and -1.
VBA Code:
ActiveSheet.Range("$A$1:$BA$10000").AutoFilter Field:=2, Criteria1:=Array( _
(Right(thisworkbook.worksheets("Variables").Range("A10").value, 2)-2), (Right(thisworkbook.worksheets("Variables").Range("A10").value, 2)-1), (right(thisworkbook.worksheets("Variables").Range("A10").value, 2)), Operator:=xlFilterValues
the range("a10") is equal to fyi
|