Hi guys;
I'm having some bad brain farts today and cannot remember the way to add a command button to an Excel Sheet via VBA. I can generate the button, but I can not name it, change properties, or assign it to call another macro when pressed.
The button properties that need to be in place are as follows:
Button name = printbutton
caption = PRINT
font.bold = true
on press run macro = printmacro
I tried using the help file and the auto macro recorder, but it would not capture the properties not the assignment of the macro.
Thank you for the help
I'm having some bad brain farts today and cannot remember the way to add a command button to an Excel Sheet via VBA. I can generate the button, but I can not name it, change properties, or assign it to call another macro when pressed.
The button properties that need to be in place are as follows:
Button name = printbutton
caption = PRINT
font.bold = true
on press run macro = printmacro
I tried using the help file and the auto macro recorder, but it would not capture the properties not the assignment of the macro.
Thank you for the help