Hi, I'm trying to adapt this script:
// Import Excel file: file.xls
// → Data Table( "Results" )
Open(
"$DESKTOP/JMP test/file.xls",
Worksheets( "Results" ),
Use for all sheets( 1 ),
Concatenate Worksheets( 0 ),
Create Concatenation Column( 0 ),
Worksheet Settings(
1,
Has Column Headers( 1 ),
Number of Rows in Headers( 1 ),
Headers Start on Row( 51 ),
Data Starts on Row( 52 ),
Data Starts on Column( 1 ),
Data Ends on Row( 0 ),
Data Ends on Column( 0 ),
Replicated Spanned Rows( 1 ),
Replicated Spanned Headers( 0 ),
Suppress Hidden Rows( 1 ),
Suppress Hidden Columns( 1 ),
Suppress Empty Columns( 1 ),
Treat as Hierarchy( 0 ),
Multiple Series Stack( 0 ),
Import Cell Colors( 0 ),
Limit Column Detect( 0 ),
Column Separator String( "-" )
)
);
however instead of setting these parameters
Headers Start on Row( 51 ),
Data Starts on Row( 52 ),
I would like to check for the keyword "Start" in column 1, the row where "Start" is would be the Headers and the one after would be where the data starts.
Is there an easy way to do this?
I am putting together a script that opens several spreadsheets that are similar and then stacks them, but the row at which the data starts varies from spreadsheet to spreadsheet as they are automatically produced by lab equipment.
Thank you