nniedzielski
Well-known Member
- Joined
- Jan 8, 2016
- Messages
- 598
- Office Version
- 2019
- Platform
- Windows
When I try to print only the visible cells after filtering,it prints one row per page, instead of all on one page. If there is no filter on it prints correctlyall on one page.
This is my code:
thanks
This is my code:
Code:
FinalRow = Cells(Rows.Count, 3).End(xlUp).Row
ActiveSheet.PageSetup.PrintArea = Range("C7:M" & FinalRow).Rows.SpecialCells(xlCellTypeVisible).Address
ActiveSheet.PrintOut]
thanks