horizonflame
Board Regular
- Joined
- Sep 27, 2018
- Messages
- 186
- Office Version
- 2013
Hi AllI'm filtering on column I and creating a new sheet to move the contents too. I need to rename the sheet as the previous sheet name with the criteria suffix. Could somebody help me please with the last part of my code?
Thanks
Thanks
Code:
Range("I1").Select
Selection.AutoFilter
ActiveSheet.Range("$A$1:$L$231").AutoFilter Field:=9, Criteria1:="=01***", _
Operator:=xlOr, Criteria2:="=02***"
'take sheet name and add suffix _0102
Sheets.Add(After:=Sheets(Sheets.Count)).Name =
ActiveSheet.Paste
Last edited: