Hi
I want to do the same thing as the below but now for a schedule source in process flow. I was thinking about importing my excel sheet as a globaltable and then copy this to my schedule source. Can this be done or is there a better way? I don't want to copy paste manually as the purpose is to use my model in the experimenter and thus it should only rely on the given globalvariables and the copying should also be done in the code.
excelopen("FileName.xlsx");//ie "C:/Users/user/Documents/Book1.xlsx"
excelsetsheet("Sheet"+numtostring(Sheet));//Global Variable named Sheet
excelimporttable("GlobalTable1",num_startRow,num_startCol,num_Rows,num_Cols);
excelclose(0);
best regards
David