[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Calling Excel type 62



Simon,
Check the security settings in Excel on the computer that won't run the example. When TRNSYS calls Excel, it runs a macro that is embedded in the Excel file. If your Excel settings are such that Excel will not open any files that have macros in them, you will get this error.
Best,
David


On 1/23/2012 03:02, Simon Binnemans wrote:
Dear all,

I tried to run the example file's for "calling Excel", type 62. But neither of them seem to work on my computer. When trying to run the file, the following error-window pops up: "Access violation at adress 104301D6 in module 'TRNDLL.DLL'. Read of address 000000000."
And:
"An unexpected error was encountered and TRNSYS will abort."

At the result-file the following error-message shows up:
"The Excel workbook could not be open. Please check the filename:"C:\Trnsys17\Examples\Calling_Ecxel\Schedule.xls""

I already tried to copy the file directly under C:\ but the error remains.

When I try to run the example files on a different pc, with the same version of TRNSYS, windows and Excel, the program works without an error.

Does anyone have an idea witch might cause this problem or how to handle the it?

Regards,
Simon

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users


--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com