JackDanIce
Well-known Member
- Joined
- Feb 3, 2010
- Messages
- 9,922
- Office Version
- 365
- Platform
- Windows
Hi,
On the following code, can someone explain why it's failing with error after the line in red is excuted with error message
"Run-time error '424' Object required"
I think it's something to do with the range I'm trying to select and apply autofilter to but I'm not sure how to achieve what I want.
Thanks,
Jack
On the following code, can someone explain why it's failing with error after the line in red is excuted with error message
"Run-time error '424' Object required"
Rich (BB code):
If ActiveSheet.AutoFilterMode Then .AutoFilter = False
If SecurityLevel < 2 Then
With Range(Range(ActiveCell.Offset(-1, 0), ActiveCell.End(xlToRight)), ActiveCell.End(xlDown))
.AutoFilter = True
End With
End If
I think it's something to do with the range I'm trying to select and apply autofilter to but I'm not sure how to achieve what I want.
Thanks,
Jack