ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Command Button Text gets smaller (https://www.excelbanter.com/excel-programming/438360-command-button-text-gets-smaller.html)

Andy

Command Button Text gets smaller
 
Hi,

I have a Command Button starting a macro. Every time I click on the button
the text gets smaller, until invisible. I've changed the macro it runs, but
still get the same behaviour. The button remains the same, it's just the text
that gets smaller. If I go into design mode and change the size of the box
the text returns. I've also selected 'Don't move or size with cells' - still
got the problem. Any ideas?

Matt S

Command Button Text gets smaller
 
You know, I was JUST ABOUT to post the exact same thing! Except in my case,
the text get larger! Go figure...

"Andy" wrote:

Hi,

I have a Command Button starting a macro. Every time I click on the button
the text gets smaller, until invisible. I've changed the macro it runs, but
still get the same behaviour. The button remains the same, it's just the text
that gets smaller. If I go into design mode and change the size of the box
the text returns. I've also selected 'Don't move or size with cells' - still
got the problem. Any ideas?


Libby

Command Button Text gets smaller
 
I've not experienced this myself, but you could try either/or setting the get
focus on click property to false specifying the font size as part of the
click event. I successfully used the latter to retain the dimensions of a
listbox on a worksheet.

"Matt S" wrote:

You know, I was JUST ABOUT to post the exact same thing! Except in my case,
the text get larger! Go figure...

"Andy" wrote:

Hi,

I have a Command Button starting a macro. Every time I click on the button
the text gets smaller, until invisible. I've changed the macro it runs, but
still get the same behaviour. The button remains the same, it's just the text
that gets smaller. If I go into design mode and change the size of the box
the text returns. I've also selected 'Don't move or size with cells' - still
got the problem. Any ideas?



All times are GMT +1. The time now is 03:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com