Skip to main content
Participant
February 17, 2020
Answered

ActiveX create object error with version 15.0.1

  • February 17, 2020
  • 1 reply
  • 1247 views

Hello,

I have an Access vba application that drives InDesign to create a catalog by managing pages, entering text, etc. It has been working for years.

It stopped working with InDesign version 15.0.1 where I get an "ActiveX component cannot create an object" message (translated from french, it may be somewhat different in english).

The line that trigger this error is:

Set myInDesign = CreateObject("InDesign.application")

I tried to downgrade InDesign to version 15.0 and it works.

So there is obviously somthing wrong with version 15.0.1 regarding this point.

Any idea?

Thank you

Patrick

 

This topic has been closed for replies.
Correct answer emphyrio

Hello,

 

Thank you for your answer. I reinstalled 15.0.1 to try it and... it actually worked without!

So, the solution was to reinstall InDesign. I must admit I didn't try that before because I had the exact same problem on two different machines...

I keep your answer for the next erro 🙂

 

1 reply

Alo Lohrii
Participating Frequently
February 18, 2020

With 15.0.1 installed, try targetting InDesign 2020

Set myInDesign = CreateObject("InDesign.Application.2020")
emphyrioAuthorCorrect answer
Participant
February 18, 2020

Hello,

 

Thank you for your answer. I reinstalled 15.0.1 to try it and... it actually worked without!

So, the solution was to reinstall InDesign. I must admit I didn't try that before because I had the exact same problem on two different machines...

I keep your answer for the next erro 🙂