0% found this document useful (0 votes)
91 views

Workbook Dump User Guide

This document is a user guide for the HYSYS Workbook Dump Utility version 2.0. The utility produces an Excel copy of the data displayed in the current HYSYS workbook. Version 2.0 keeps the units used in HYSYS in a separate column for easier customization. No installation is required, simply copy the Excel file to a convenient location. The utility was created by Hyprotech Technical Support as an example and is not part of their normal QA procedures. To use it, open the required workbook in HYSYS and press the "Dump Workbook" button in the Excel spreadsheet.

Uploaded by

Mikhail López
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views

Workbook Dump User Guide

This document is a user guide for the HYSYS Workbook Dump Utility version 2.0. The utility produces an Excel copy of the data displayed in the current HYSYS workbook. Version 2.0 keeps the units used in HYSYS in a separate column for easier customization. No installation is required, simply copy the Excel file to a convenient location. The utility was created by Hyprotech Technical Support as an example and is not part of their normal QA procedures. To use it, open the required workbook in HYSYS and press the "Dump Workbook" button in the Excel spreadsheet.

Uploaded by

Mikhail López
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

HYSYS Workbook Dump Utility version 2.

0, User Guide
James Martin, AEA Technology, Hyprotech, UK Technical Support
27th February 2001
1 Introduction
Produces a copy in Excel of the data that is being displayed in the current HYSYS workbook.
1.1 Changes for version 2.0
Keeps the units that are currently in use in HYSYS (ver 2.2+). Now lists the units in a
separate column, not with the data. Easier customisation of output.
2 Installation
No installation is required, simply copy the Excel spreadsheet file WorkbookDump.xls to a
convenient location and double click it to open it in Excel.
3 Important Note
This Automation application has been created by Hyprotech Technical Support as an example
of what can be achieved through the object architecture of HYSYS. The application is
provided for academic purposes only and as such is not part of Hyprotech's normal QA
procedures. We strongly encourage users to check results carefully and use the facility
accordingly. Please report any problems encountered through the normal support channel at
[email protected]
4 Usage
In HYSYS open the workbook page required, then press the “Dump Workbook” button on
the spreadsheet.
4.1 Customising Output - Advanced
Many of aspects of the Workbook Dump output can be customised by editing the constants
defined at the beginning of the Visual Basic code. To see these, go to the VBA editor. (Tools
… Macro … Visual Basic Editor, or press Alt + F11), double click on shtWorkBookDump in
the tree at the left hand side.

HYSYS Workbook Dump Utility version 2.0, User Guide 1 of 2


5 Troubleshooting / Using different HYSYS versions
When linking Excel to HYSYS, the HYSYS type library must be correctly “referenced” to
allow Excel to access HYSYS’ functions. As supplied the spreadsheet is set up with a link to
HYSYS version 2.2. If a different version of HYSYS is in use then Excel may report errors
like: “Method or Data Member not found,” “Type Mismatch,” or RPC errors. These can often
be solved by re-referencing the HYSYS type library. The procedure to do this is as follows:
 Close WorkbookDump.xls and Excel if it is open
 Open and close the version of HYSYS that is to be used
 Reopen WorkbookDump.xls
 Go to the VBA editor. (Tools … Macro … Visual Basic Editor, or press Alt + F11)
 In the VBA editor go to Tools … References
 If “HYSYS #.# Type Library” (where #.# is the version of HYSYS being used) is checked
uncheck it and press OK, then go to Tools … References again
 Find “HYSYS #.# Type Library” in the list, check it, press OK and close the VBA editor.

HYSYS Workbook Dump Utility version 2.0, User Guide 2 of 2

You might also like