Does anyone know why using the Controls.Remove method would cause the controls toolbox to appear on a running userform?
Does anyone know why using the Controls.Remove method would cause the controls toolbox to appear on a running userform?
You don't show enough information for me to know.
Do you open the VBE with your code or select the userform?
My best question and the one I hope you responde to is, why are you removing controls on the fly?
Steve
"Nearly all men can stand adversity, but if you want to test a man's character, give him power."
-Abraham Lincoln
Sorry, I knew that was way to brief, but I wasn't sure what information to include. It seems like a complicated problem and I'm afraid may be tied to API calls.
The controls are labels that are added and removed at run time to reflect changes made by the user in other areas of the form. So, no, I do not open the VBE with the code.
If you need to see the workbook, I can post it, but it's large.
Why not just hide them and show them?
Steve
"Nearly all men can stand adversity, but if you want to test a man's character, give him power."
-Abraham Lincoln
That would work.... Probably what I should have done in the first place.
Thanks.