Why data validation can't handle dynamic named ranges through Indirect

烈酒焚心 提交于 2020-01-24 20:59:09

问题


I had a problem with creating dynamic named ranges and incorporating that with data validation. On my previous question this was the (part of) the answer given by XOR LX: offset, named range and data validation

The combination of dynamically-defined Names and INDIRECT is not permitted within Data Validation. In such cases you need to employ EVALUATE, though you should note that, despite no explicit VBA being called, this will nevertheless require that the workbook be saved as macro-enabled.

Question remains why data validation can't handle this?

In my case I decided to hard code all possible options, as they were limited in number, but are there other options without making use of VBA?

来源:https://stackoverflow.com/questions/42954283/why-data-validation-cant-handle-dynamic-named-ranges-through-indirect

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!