question

Upvotes
Accepted
21 0 1 4

callback in VBA relies on application.enableevents being set to true

Hello,

i just found out that the callback mechanism relies on application.enableevents being set to true in excel/vba.

that's why i'm asking you to provide me with an efficient synchronous query mechanism.

in sophisticated excel/vba tools, users often need to set the enableevents to false.

callback is very good in multithreaded(actor) languages like c#/java/scala... but not very convenient in excel/vba when users do need to do certain synchronous batch query.

Please provide me a good sample of how to efficient synchronous query in vba asap.

thank you very much,

jude jin

eikoneikon-com-apicallback
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.

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

Upvotes
Accepted
39.2k 75 11 27

Hi @jude.x.jin,

I'm afraid you are mistaken. Please see my response to your comment on the original thread.

https://community.developers.refinitiv.com/questions/11185/how-can-i-use-the-comvba-api-in-batchnon-callback.html

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