I am working on a workbook with a number or simple macros. They all work correctly if run independently, but they seem to be interfering with one another and I, being a VBA novice, can't figure out how or why.
The two in question are a command button which performs a goal seek function,
and a checkbox that hides displays or hides columns and the command button when selected.![]()
Please Login or Register to view this content.
The goal seek works fine at first, but if the checkbox is deselected and then selected again - hiding and then re-displaying the goal seek button - it seems to lose its functionality. However, if I go into the VBA and run the goal seek on its own, it still works.![]()
Please Login or Register to view this content.
Additionally, if go into design mode and edit the command button object, it shows the button as having "moved" to the right. If I place it back over the actual button, the functionality is restored. How can I keep it from shifting?
I have attached an excel sample which has the issue. Any help on resolving this issue would be appreciated. Thanks in advance.
Bookmarks