Can a CommandButton be made round vs square

birdieman

Well-known Member
Joined
Jan 13, 2016
Messages
551
Was wondering if a CommandButton on a userform be made into a circle -- either thru code or the properties window (i looked but did not see an option in the properties window for a round button).

thanks
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
A standard command button control selected from either the Form Controls tool box or the Active-x tool box cannot be reshaped to a circle. But you can use a circle from the shapes selections to use in the same fashion as a button. You just have to build the button yourself including the text in the shape text frame and then use the shape click event to execute code. The link below will give you some of what you need to know.
https://msdn.microsoft.com/en-us/library/bb211457(v=office.12).aspx
 
Upvote 0
Create a Circle and save it as a image and put the image on your UserForm and assign a script to the image.
 
Upvote 0
You cannot reshape a control on an office userform ... but if you are adventusrous, you may chheck out this :
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,940
Messages
6,122,352
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top