Menu

asynchronous excel udfs

Ark Wu
2015-12-08
2015-12-10
  • Ark Wu

    Ark Wu - 2015-12-08

    Hi all,

    Just wonder if it is possible to create -asynchronous excel udfs in ExcelPython.
    I have seen such a feature in ExcelDNA.
    for example, we can create an UDF to call web services or a web request.
    instead of waiting the function call to finish, it will return some state like 'processing'.
    once the value is returned, it will automatically refresh the cell value via certain callback.

    thanks,
    Ark

     
  • Eric Reynolds

    Eric Reynolds - 2015-12-10

    Hello Ark,

    This is not supported out-of-the-box right now, however you may be able to achieve a similar result by saving Application.Caller and returning immediately from the UDF, then subsequently writing the result to the desired cell once it's ready.

    Perhaps in future better support for this kind of functionality will be available.

    Kind regards,

    Eric

     

Log in to post a comment.