D
Dave Neve
Hi
You kindly gave me this code about a week ago but I have not been able to
get it to work.
I have added a blank form to my doc and then I execute.
The form shows up but not with any command buttons.
Thanks in advance
Sub AddStuffToForm()
Dim ctlNew As MSForms.Control
Set ctlNew = Me.Controls.Add("Forms.CommandButton.1")
End Sub
You kindly gave me this code about a week ago but I have not been able to
get it to work.
I have added a blank form to my doc and then I execute.
The form shows up but not with any command buttons.
Thanks in advance
Sub AddStuffToForm()
Dim ctlNew As MSForms.Control
Set ctlNew = Me.Controls.Add("Forms.CommandButton.1")
End Sub