PxPlus User Forum

Main Board => Discussions => Programming => Topic started by: michaelgreer on November 16, 2018, 02:56:49 PM

Title: excel object create error 12
Post by: michaelgreer on November 16, 2018, 02:56:49 PM
I have a customer who has several users running the same version of excel, and of course pvx/windx on different PC's.  One user gets and error 12 on this command:

3215 def object xl,"[running]excel.application"

"[running]ecel.application" is actually in a variable, but the above shows the command.  Does anyone know of an excel setting which would cause this?

Thanks!
Michael
Title: Re: excel object create error 12
Post by: harryv on November 16, 2018, 03:19:29 PM
Make the line

[Running or New]
Title: Re: excel object create error 12
Post by: michaelgreer on November 29, 2018, 03:16:16 PM
This turned out to be a Windows issue (all gasp in surprise).  On the properties for the application launch icon, under compatibility, the Compatibility was turned on for WindowsXP (Service Pack 3). Turning this off eliminated the problem.  This was only an issue with the latest version of Excel.