question

asb.p avatar image
0 Likes"
asb.p asked Jordan Johnson answered

ExcelRangeRead command

I have been trying to understand the excel read range command i am getting error when i try to run in scrip console.

excelopen("File.xlsx");
excelsetsheet("Sheet1");
treenode myTable = node("Tools/GlobalTables/GlobalTable1>variables/data", model());
excelrangeread(myTable, 1, 1, 0, 0, EXCEL_DATA_AUTOMATIC|EXCEL_USE_COLUMNHEADERS);

The error is in the last command excelrangeread Can any one please let me know what is the error over here.

FlexSim 18.0.10
command helps
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered

It looks like this command broke when we switched to compiled FlexScript. I'll add a case to the dev list to fix it.

It may be possible to use the dll maker to call this code.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.