Userform Multipage禁用标签点击 [英] Userform Multipage disabling tab click
本文介绍了Userform Multipage禁用标签点击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法禁用标签选择?或者添加子选项卡本身?
谢谢
解决方案
将多页的样式属性更改为 fmTabStyleNone
(2)。
I have a userform with multipage tabs, within each tab there is a "next" command button that allows you to move onto the next tab if there are no errors (if there is an error, it prompts the user and sets the focus to the error on that tab). When the userform is open, I can click the tabs to jump around without completing anything which defeats the purpose of my error handling.
Is there a way to disable tab selection? Or add a sub to the tab itself?
Thanks
解决方案
Change the Style property of the Multipage to fmTabStyleNone
(2).
这篇关于Userform Multipage禁用标签点击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文