I wish to create a number of userform controls programatically and then operate on them as the control type they are. I can create the controls and can manipulate the control properties, for example
Dim ThisCntl as Control
Dim CntlName as String
Set ThisCntl = frmABC.Add("Forms.TextBox.1", Name:=CntlName)
ThisCntl.someCntlprop = somevalue
However, how to I operate on this recently created Control/TextBox so that I can manipulate the TextBox properties
Any help would be appreciated.
Thanks.
Bookmarks