hi Dave ...tks so much .....just for your info in the meantime i solved the problem setting the print area before creating the pdf using the below code.....as per your suggestion i focused the problem to the pdf setting and not to the filters....I tried right now to change as per your suggestion but i get an error..if i put the second slash.......anyway tks so much for your help
Dim iRow As Integer, iRowL As Integer, iPage As Integer
iRowL = Cells(Rows.Count, 1).End(xlUp).Row
Worksheets("mxp").PageSetup.Orientation = xlLandscape
ActiveSheet.PageSetup.PRINTAREA = Range("A1:Ac" & iRowL).Address
Bookmarks