Centering text on an ActiveX button

tobyz95

Board Regular
Joined
Jul 28, 2012
Messages
190
:banghead::banghead::banghead: I have searched high and low and cannot seem to find an answer. I have inserted an ActiveX button in a cell to run 3 macros when pressed. I cannot get the 4-letter name on the button to appear centered on the button, unless I make the button larger than the cell, which I do not want to do.



Any insight here would be GREATLY APPRECIATED!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Have you tried making the font smaller? How small is the cell? What is your font setting?
 
Upvote 0
Have you tried making the font smaller? How small is the cell? What is your font setting?

Hello, Thanks for responding. The cell Height is 15.00(20 pixels) Width is 5.86(46 pixels)
I went down to size 6, but it still was not centered, and frankly was also too small.

I ended up changing it to a Form button instead, and made a macro to run the 3 macros' I wanted.
That one can be formatted, where the ActiveX button can not be altered as much or not enough in my case. <img src="http://www.orangemane.com/BB/images/smilies/shrug.gif" abp="1">
 
Upvote 0
That is *really* small..

ActiveX can be formatted, but there are limitations.

It is interesting that the form control has smaller margins. Your other option would have been to use an ActiveX label - they can be formatted to look like buttons and have smaller margins. But the text sits along the bottom of the frame
 
Upvote 0
That is *really* small..

ActiveX can be formatted, but there are limitations.

It is interesting that the form control has smaller margins. Your other option would have been to use an ActiveX label - they can be formatted to look like buttons and have smaller margins. But the text sits along the bottom of the frame

<img style="width: 60px; cursor: pointer;" alt="" src="http://www.alispagnola.com/Free/horse3.jpg" border="0" /> Hi again, I also find it interesting. It seems like the programming is incomplete, or wasn't even addressed to begin with. Thanks for the info on ActiveX label...I have not used that feature as of yet, and will explore more.

Thanks again for your time and expertise!
 
Upvote 0

Forum statistics

Threads
1,223,575
Messages
6,173,148
Members
452,502
Latest member
PQCurious

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