I´m adding textboxs in runtime mode. I need to insert those controls in a specific Frame.
I search the web and only found a solution for VB6, but it doesn´t apply to VBA.
I´m using Excel 2003.
Code:
Sub AddTextbox()
Dim Txt As Control
set Txt = Me.Controls.Add("Forms.TextBox.1")
'The new Textbox is added in the Userform
'I need that the new textbox to be inserted into the Frame1.
End Sub
The "Container" method doesn´t apply here (it does in VB6)
Example: set me.txt.container=me.Frame1
Bookmarks