As is says in the title how do you go about changing the default icon (smiley face) to another icon using vba. I've tried recording the action but nothing comes up.
'Note: Be sure to refer to a bitmap file that is
'present on your system, and to include the path
'in the filename.
CommandButton1.Picture = _
LoadPicture("c:\windows\argyle.bmp")
CommandButton1.PicturePosition = ComboBox1.Value
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.