Documenting VBA code for Excel Auto Complete

前端 未结 2 756
误落风尘
误落风尘 2021-01-02 16:03

When writing a custom function to use in excel using VBA, How to write the documentation comments so that the excel automatically displays during auto-fill of a formula?

2条回答
  •  一向
    一向 (楼主)
    2021-01-02 16:45

    I believe you must use Application.MacroOptions to register your function and its description, and optionally provide a help file to make the Help on this Function link work.

    Not sure how to provide inline description for the parameters though.

提交回复
热议问题