4

I have created an "Expandable/Collapsible" structure using VBA. I have added some form controls, like a dropdown or option buttons in each of the section, but the issue is that, when the whole thing is collapsed, the form controls are visible in the button. please check the screenshot and advise a solution. excel issue

enter image description here

1 Answer 1

3

Yes that is because you have not selected Move and Size with cells.

That option is greyed out when you right click on the control and then click on Format Controls | Properties | Move and Size with cells for Option Button and Combo Box as shown below.

enter image description here

You need to use a different way to activate it.

Click the control and then click as shown below

enter image description here

And then from there you can set those properties.

enter image description here

Now those controls will hide when you collapse the rows.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.