Rowland Hamilton
Active Member
- Joined
- Nov 13, 2009
- Messages
- 250
Folks,
How do I change this code so that it does not have to select the cells, but can activate them instead?
I read activating also slows data processing, but I don't think I have a choice, there.
Thanks, Rowland Hamilton
How do I change this code so that it does not have to select the cells, but can activate them instead?
Code:
'Delete Filtered Rows
Application.CutCopyMode = False
Range("a2", Selection.SpecialCells(xlCellTypeLastCell)).Select
Selection.SpecialCells(xlCellTypeVisible).Select
Selection.EntireRow.Delete
I read activating also slows data processing, but I don't think I have a choice, there.
Thanks, Rowland Hamilton