I have a userform that creates a new multipage with each press of a button.
Each multipage will contain a number of dynamically created controls (textboxes, optionbuttons comboboxes etc)
Some of these dynamic controls must be Enabled/disabled via the selection or input values from other dynamically created controls.
So far here is my code for the project is as follows;
Problem
The iteration of x through the project and the use of integer x in the naming of the dynamically generated controls have me at a loss as to how to create code to affect the dynamically generated controls or even how to properly name the declarations for a Sub.
For instance
OR
do not seem to work of have any effect on the controls I want to enable/disable.
I suspect this issue may be solved by the use of a Class but I frankly need help in understanding classes and their use in vba.
Any help on this would be appreciated.
Bookmarks