question

tong avatar image
0 Likes"
tong asked tong commented

After export data to Excel, how to make Excel open automatically?

After export data from the global table of FlexSim 2017.1.2 to Excel, how can I make Excel automatically open?

Thank you!

FlexSim 17.1.2
global tableexcelexcel exportexport excel open
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

·
Ben Wilson avatar image
3 Likes"
Ben Wilson answered tong commented

After export, you can use the rundocument() command to open the default Windows application for the filetype given.

rundocument("open", "C:\\path\\to\\my_file.csv")

Because my default Windows program to open .csv files is Excel, this command will open my_file.csv in Excel.

· 1
5 |100000

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

tong avatar image tong commented ·

@Ben Wilson The problem is solved. Thanks very much.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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