I have this code that was working to export all my tabs based of their names (which are variables)
Now i am getting an error code for "Invalid procedure call or argument"
What needs to change?
![]()
Sub PDFTabs() Dim ws As Worksheet For Each ws In Worksheets ws.ExportAsFixedFormat xlTypePDF, "C:\Users\Glen.Hervey\Documents\MAA Exports\" & ws.Name & ".pdf" Next ws End Sub
Bookmarks