K0st4din
Well-known Member
- Joined
- Feb 8, 2012
- Messages
- 501
- Office Version
- 2016
- 2013
- 2011
- 2010
- 2007
- Platform
- Windows
Hello, everyone,
please help with your help.
I found this macro that filters through a selected column, but I do not know how to add it to many selected worksheets, I have in the past - Array("Ivan todorov", "Petko Georgiev", etc.)
I ask for your cooperation.
Thank you in advance
please help with your help.
I found this macro that filters through a selected column, but I do not know how to add it to many selected worksheets, I have in the past - Array("Ivan todorov", "Petko Georgiev", etc.)
VBA Code:
Sub filter()
Application.ScreenUpdating = False
Columns("A:F").Select
Selection.Sort Key1:=Range("E2"), Order1:=xlDescending, Header:=xlGuess, _
OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _
DataOption1:=xlSortNormal
Application.ScreenUpdating = True
End Sub
Thank you in advance