S
sarndt
In VBA Code behind a worksheet
Dim objFrame As OleObject
Dim objTextBox As OLEObject
Set objFrame = ActiveSheet.OLEObjects.Add(ClassType:="Forms.Frame.1")
Set objTextBox =
ActiveSheet.OLEObjects(objFrame).Add(ClassType:="Forms.Textbox.1")
Frame is created. But Textbox statement errors out - and doesn't get
created inside of Frame
Thanks
Steve
Dim objFrame As OleObject
Dim objTextBox As OLEObject
Set objFrame = ActiveSheet.OLEObjects.Add(ClassType:="Forms.Frame.1")
Set objTextBox =
ActiveSheet.OLEObjects(objFrame).Add(ClassType:="Forms.Textbox.1")
Frame is created. But Textbox statement errors out - and doesn't get
created inside of Frame
Thanks
Steve