question

Upvotes
3 2 0 0

COM APIs in Office 64bits

Hello Team,

My configuration is:

Windows 10 64bits

Office 365 64bits


I tried running the ALL_COM_APIs.xlsm tutorials file and I performed the following fixes:

-Added PtrSafe keyword where missing

-Remapped the rtx.dll reference path


Tutorials 1 to 5 and 9keep failing with error "Runtime error '91' Object Variable or With block variable not set"

Tutorials 6 to 8 work properly


Is there a fix to get all tutorials work in my environment?

Thanks for your help

eikon-com-apivbamicrosoft-office-365
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
38.1k 71 35 53

@mahjoub.faraj

Those tutorials are for Excel 32bit.

I found that some Eikon COM objects are available for Excel 64bit, such as DEX2, RSearch, and RHistory. Typically, those DLLs are in the bin (x64) directory in Eikon.

I am unable to find the 64bit DLL of the AdfinX Real-Time Library (rtx.dll) which is required by tutorials 1 to 5.






icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea