Hi,
Is there a method to check the value stored (or displayed) in a textbox (or combobox) using the name of the textbox(or combobox) stored in a string variable?
Example: Something like this...
=====================================
Dim ObjectName as String, EnableButton as Boolean, I as Integer
ObjectName= Cells(I, 2).Value
For I = 0 to UserFormName.Controls.Count = "" then
If not UserFormName.ObjectName.Value = "" then
EnableButton =true
EndIf
Next I
=====================================![]()
Bookmarks