You are on page 1of 2

This EXCEL sheet contains a macro that will call EES.

It should serve as a model of how EES and EXCEL can interact.

The macro will start EES and open the file C:\ees32\userlib\examples\EXCEL_EES.ees. It will then copy two columns of data
temperature and presssure to the clipboard, paste them iinto the first two columns of the EES Parametric table 'Table 1', solve
table and copy the the calculated results back to the clipboard. In this case, the calculated results are the specific enthalpy, en
and volume for for refrigerant R134a. The EXCEL macro then paste the result into the EXCEL sheet and quits EES.

To view the code editor hit Alt+F11 or Tools->Macro->Visual Basic Editor.

T [C] P [kPa] h [kJ/kg] s [kJ/kg-L] v [m3/kg]


100 500
110 500
120 500
130 500
140 500
150 500
160 500
170 500
180 500
185 500
XCEL can interact.

copy two columns of data representing


etric table 'Table 1', solve the
e the specific enthalpy, entropy,
and quits EES.

You might also like