I placed a toggle button on a userform that toggles between two sheets. Originally, I placed the code with the button as a click event and its worked fine.
Subequently, I moved the toggle code to a standard module and called it from the forms object. The call works but the toggle code itself produces "Object variable or With block variable not set". Code follows:
Code In forms object:
Code in standard module with Option Explicit set:![]()
Please Login or Register to view this content.
I am self-taught and obviously have a lot to learn. Your help will be appreciated.![]()
Please Login or Register to view this content.
Bookmarks