I'm trying to make a selection of multiple sheets one workbook based on run macros. At the end I have string containing sheets for selection, but my program prompt errors ...
Example:
SheetPrintPDF=Split(SheetPrintPDFTemp, ",")
Rem Debug show me that SheetPrintPDFTemp contains "Sheet1, Sheet17, Sheet24"
Wb1.Sheets(Array(SheetPrintPDF)).Select
Rem Program error "method class sheet error"
when I write ...
Wb1.Sheets(Array("Sheet1", "Sheet17", "Sheet24")).Select
Select works fine.
", "