I have a macro that filters the table based on column A values. Now I want to print only the visible rows after the filter, but sadly it prints all
column A
Finally, this code worked! :) Thanks to all!
ActiveSheet.PageSetup.PrintArea = Range("C3:I" & lastrow).Rows.SpecialCells(xlCellTypeVisible).Address