nniedzielski
Well-known Member
- Joined
- Jan 8, 2016
- Messages
- 598
- Office Version
- 2019
- Platform
- Windows
I have some code that is filtered on a column, copying the visible rows, going to a new sheet, and pasting the code down.
It works, but its incredibly slow, is there a faster way to generate this block of code?
It works, but its incredibly slow, is there a faster way to generate this block of code?
Code:
Selection.AutoFilter
ActiveSheet.Range("A:J").AutoFilter Field:=3, Criteria1:="Empty"
Selection.SpecialCells(xlCellTypeVisible).Copy
Sheets("Empty").Select
Cells.Select
ActiveSheet.Paste
Columns("A:A").EntireColumn.AutoFit
Cells.Select
Cells.EntireColumn.AutoFit
Last edited: