在 Excel 中显示数据之前,强制用户从切片器中选择一个选项
我有一个从汇总数据中填充的表。因此,当从任何一个切片器中选择选项时,我的数据无效,因为它平均是平均值。是否可以通过VBA代码或某种高级选项进行方法,我可以在查看数据之前确保从两个切片机中选择一个选择?
I have a table which is is populated from summarized data. Because of this, when no options are selected from either slicer my data is invalid as it is averaging averages. Is there a way through VBA code or some sort of advanced options where I can make sure the user has selected a choice from both slicers before seeing the data?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果用户尚未选择任何内容,则过滤式属性应为真。
您可以在使用类似的内容时设置默认值。
If the user hasn't selected anything, the FilterCleared property should be true.
You could set defaults when true using something like this.