在用户窗体中如何 link 文本框的值动态地转换为另一个东西的值,如旋转按钮或复选框
In Userform how to link the value of a textbox dynamically to that of another thing like Spinbutton or checkboxes
我很好奇如何在 select 不同的选项按钮或使用旋转按钮切换时动态更改文本框的值。到目前为止我尝试过的是
Userform1.textbox1.value = spinbutton1
有更好的方法吗??
谢谢。
好吧,你走在正确的轨道上,但它会是:
Userform1.textbox1.value = spinbutton1.value
并且,您希望将该代码放入 spinbutton1 的更改事件处理程序中。
我很好奇如何在 select 不同的选项按钮或使用旋转按钮切换时动态更改文本框的值。到目前为止我尝试过的是 Userform1.textbox1.value = spinbutton1
有更好的方法吗??
谢谢。
好吧,你走在正确的轨道上,但它会是:
Userform1.textbox1.value = spinbutton1.value
并且,您希望将该代码放入 spinbutton1 的更改事件处理程序中。