Av8tordude
Well-known Member
- Joined
- Oct 13, 2007
- Messages
- 1,074
- Office Version
- 2019
- Platform
- Windows
I have this code that selects the first visible row. If only 1 visible row is displayed, for some reason its selects row one. How can ensure it does not select any rows above row 7?
VBA Code:
Range("A7", Cells(Rows.Count, "A").End(xlUp)).SpecialCells(xlCellTypeVisible).Cells(1, 1).Select