ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Multi-threading in VBA (https://www.excelbanter.com/excel-programming/403554-multi-threading-vba.html)

hamishd

Multi-threading in VBA
 
Hi,

Is multi-threading and call-back functions possible in VBA? Or even
VB?

Thanks

Chip Pearson

Multi-threading in VBA
 
Multi-threading is not possible in VBA. A called back function is supported
(e.g., a TimerProc for the SetTimer API function) using the AddressOf
operator, but a function in VBA cannot call a called back function.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel, 10 Years
Pearson Software Consulting
www.cpearson.com
(email on the web site)


"hamishd" wrote in message
...
Hi,

Is multi-threading and call-back functions possible in VBA? Or even
VB?

Thanks




All times are GMT +1. The time now is 12:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com