Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to create non-volatile UDF in python in Excel? #75

Open
@vkchan

Description

In Excel VBA, we can create a non-volatile UDF as follows:
[https://learn.microsoft.com/en-us/office/vba/api/excel.application.volatile]
Function My_Func()
Application.Volatile = False
...
End Function

Is there a way to create a non-volatile Python UDF in Excel? Excel becomes very slow because my Python UDF gets recalculated even when the inputs are not changed. It will be great if there is a way to make the Python UDF non-volatile. Could you please show me how (or add as a development item if we can't currently do it)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /