Can I use VBA function to return a (dynamic) list of acceptable values into Excel's data validation?

后端 未结 6 1549
夕颜
夕颜 2020-12-19 11:28

For a given cell, I select Data/Validation and set Allow to \"List\". I now wish to set Source like so:

=rNames(REGS)

but that does not work (name not found

6条回答
  •  清酒与你
    2020-12-19 11:59

    Couln't you rather use dynamic range names ? That's quite easy and does not require any vba.

提交回复
热议问题