Exporting data to MS Excel workbook
export data from AnyLogic database table(s) to
MS Excel file
- In the
view, click the model's
- In the
view, expand the
- Before doing the export, you need to set it up. If you have not done this yet, click the
- You will see the
dialog. Using the
button, select the MS Excel file where you want to write the information. The
button to the right allows to switch between the
absolute and relative file path. The path to the file will be displayed in the
field of the DB properties'
- Below, in the
Select tables you want to export
list, select the check boxes for the database tables you want to export to MS Excel workbook.
- We have finished defining the export settings. Click the
- If you want to perform the data export, in the Database properties, click the label
Export tables to Excel.
- If you want data to be exported every time when the model execution is finished or terminated by the user, select the check box
Export tables at the end of model execution.
If the selected MS Excel file is currently opened, you will see the error message. Close the MS Excel application, and repeat the export scenario.
If the export was successful, you can open the MS Excel file, and see that AnyLogic added new worksheet(s), one per each exported database table, and wrote the data there.