Access VBA ActiveX component can't create object

PDF-XChange Editor SDK for Developers

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
mofr
User
Posts: 2
Joined: Thu Dec 18, 2025 3:17 pm

Access VBA ActiveX component can't create object

Post by mofr »

Hello team,

Hello,

We’ve installed the package "Editor SDK" and we still have an error when we try to use it in a VBA application. Could you please tell us is something is missing in our configuration ?
Thanks in advance
Best regards

[attachment=
imag[attachment=3]image(3).png
e(2).png[/attachment]2]i
image(1).png
mage.png[/attachment]
image(4).png
image(5).png
image(6).png
You do not have the required permissions to view the files attached to this post.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2468
Joined: Thu Jun 30, 2005 4:11 pm

Re: Access VBA ActiveX component can't create object

Post by Vasyl - PDF-XChange »

Hi, mofr.

Our "PDF-XChange Editor Type Library" is an ActiveX Control, meaning it is a visual UI-component that must be placed on the form to be used. You cannot create an instance of it using the simple CreateObject() in VBA. You need to put it on the form-object (can be hidden).

HTH.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
mofr
User
Posts: 2
Joined: Thu Dec 18, 2025 3:17 pm

Re: Access VBA ActiveX component can't create object

Post by mofr »

Hello team,
thanks for your answer.

In my VBA tool, i need to open and to fill 4 differents PDf and after to merge into a new one.

Do you have some examples on how to do that with the configuration i have on my system ?

thanks in advance