I'm writing VBA in MS Access to control an Excel workbook. The final stage of the process is printing two of the worksheets in the workbook to PDF. I'm having a problem combining the two worksheets and printing them. I keep getting error 438 "Object doesn't support this property or method). Printing to PDF one of the worksheets works OK but I should be able to combine two or more. Here's the code:
The commented out line is the one that works but I need the first line, with the Array statement, to work.
Thank you for your help.
Bookmarks