Referencing Excel Userform Control Name Value From String (VBA)

前端 未结 1 604
春和景丽
春和景丽 2020-11-29 12:28

Typically when referencing a userform control value in Excel VBA I would enter something to the effect of radiobutton.value

However, I want to be able to use a strin

相关标签:
1条回答
  • 2020-11-29 13:15

    Like this (where Me is the UserForm)

    Me.Controls("TextBox1").Value
    
    0 讨论(0)
提交回复
热议问题