Scripting: open all sheets from an Excel fileWhat is the syntax to open all sheets from an excel file without naming all the sheets?
This is the script log I got after clicking "Select all" in Excel Wizard. The specific excel file had 2 sheets name "Sheet1" and "Sheet2".
Worksheets( {"Sheet1", "Sheet2"} ),I could not find help from Scripting Index either
Open( excelFilePath,
<WORKSHEETS>,</WORKSHEETS>Thanks
Automation and ScriptingRe: Scripting: open all sheets from an Excel fileThis simple syntax should work:
dt = Open( "Path\Workbook Name.xlsx" );
The variable dt will store a list of data table references when there is more than one sheet.