Excel VBA Control Sizing Issues

J

J Streger

When I place form controls on a sheet from the Control toolbox in the VBA
Toolbar, everything looks fine. But 2 issues I've seen are:

1) When a user interacts with the control, the control changes shape and
size while it has focus. So a checkbox with shadow set = true looks fine
until it gains focus, then the shadow disappears and the text gets larger.
Once focus is lost it reverts back to normal. this happens with buttons and
radio buttons as well

2) Sometimes after running a macro, the control will get slightly smaller.
Sometimes it gets smaller vertically and sometimes horizontally, but the
button or listbox (the 2 this happens most to) after ever run through the
macro, get progressively smaller until theya re nothign more than a thin
line. This occurs even though I have no code that changes or sets the size.

Does anyone have any explainations to these phenomenon?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top