PxPlus User Forum

Twitter Twitter Twitter

Author Topic: excel object create error 12  (Read 1589 times)

michaelgreer

  • Diamond Member
  • *****
  • Posts: 129
    • View Profile
excel object create error 12
« 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

harryv

  • Member
  • **
  • Posts: 10
    • View Profile
Re: excel object create error 12
« Reply #1 on: November 16, 2018, 03:19:29 PM »
Make the line

[Running or New]
Regards,

Harry Valters

michaelgreer

  • Diamond Member
  • *****
  • Posts: 129
    • View Profile
Re: excel object create error 12
« Reply #2 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.