Can anyone help? ...
I have an application which displays different variants of a userform depending on the size of screen being used.
There are 2 versions of each userform eg. Scr1366_Menu and Scr2560_Menu
In order to simplify coding and maintenance, I've been using an object variable (set when the Workbook is opened) to determine which userforms are displayed.
.Please Login or Register to view this content.
Subsequent code refers to ThisForm_QD thus removing the need for multiple versions of code.
My problem ...
The Dim statement works fine for regular userforms but crashes when the form referred has a multipage control. Runtime error "1004". Application-defined or Object-defined error.
Any idea why this would be?
Thanks
Bookmarks