richardtims
New Member
- Joined
- Jun 25, 2018
- Messages
- 31
Hello,
I have tried searching for a solution for my problem within the forums, but have been unsuccessful. I hope that this is not a duplicate thread, but if so, please let me know.
I am still pretty new to VBA and hopefully this is not too much of a Rookie question. I am trying to set an auto filter to filter out a specific date that would be a value in cell Z1 on the active worksheet. I have been playing around with it but can get it to actually work. The part that I need to replace is the "8/30/2018" portion of the code. It needs to be the date that is in cell Z1. Please let me know if you have a solution. Thanks.
I have tried searching for a solution for my problem within the forums, but have been unsuccessful. I hope that this is not a duplicate thread, but if so, please let me know.
I am still pretty new to VBA and hopefully this is not too much of a Rookie question. I am trying to set an auto filter to filter out a specific date that would be a value in cell Z1 on the active worksheet. I have been playing around with it but can get it to actually work. The part that I need to replace is the "8/30/2018" portion of the code. It needs to be the date that is in cell Z1. Please let me know if you have a solution. Thanks.
Rich (BB code):
ActiveSheet.Range("$A$1:$Z$382774").AutoFilter Field:=6, Operator:= _
xlFilterValues, Criteria2:=Array(2, "8/30/2018")