C
CT
I am trying to create a button and put it onto a spreadsheet using VBA.
Dim cmdButton As Object
Set cmdButton = CreateObject("Forms.CommandButton.1")
cmdButton.Top = 0
Occurs on cmdButton.Top = 0
I am trying to set the position of the top of the new command button.
Where am I going wrong?
Thanks,
Tim
Dim cmdButton As Object
Set cmdButton = CreateObject("Forms.CommandButton.1")
cmdButton.Top = 0
Occurs on cmdButton.Top = 0
I am trying to set the position of the top of the new command button.
Where am I going wrong?
Thanks,
Tim