D
Dave Neve
Hi
I got this bit of code from a recent conversation and aapted it as par a
help page. I have also created a UserForm1 (blank)
But when I run the code, nothing happens.
Sub AddControlToUF()
Dim newControl As Control
Set newControl = UserForm1.Controls.Add("MSForms.CommandButton.1")
End Sub
What's the trick this time please???
Thanks
I got this bit of code from a recent conversation and aapted it as par a
help page. I have also created a UserForm1 (blank)
But when I run the code, nothing happens.
Sub AddControlToUF()
Dim newControl As Control
Set newControl = UserForm1.Controls.Add("MSForms.CommandButton.1")
End Sub
What's the trick this time please???
Thanks