Greetings All,
I have strange situation and hoping I might get some assistance.
I have a workbook with considerable VBA macros and several user forms. I am at a point where I want to add another user form to allow the end user to make a model change.
Here is a screen print of what I am starting with ... This is the userform I have created ...
I now will merely add either a combo box or a list box ... like this ...
I enter appropriate named range for "control source" and "row source"
I test out the function of the user form and it works as I would expect. All my other macros seem to be working as well. I then same my work. But, now when I attempt to open the workbook, I get this error ...
To add to my confusion, although I had button called "col_width_button", it is long gone and associated macro or code is deleted. I have attempted to highlight the project in the VBA editor and then click Debug, Compile VBA and in the good version (have not yet added a combo box or list box to the user form), it seems to compile fine.
Does anyone have any idea why upon adding a list box or combo box to the user form that I am getting this issue?
Thanks,
Steve
I have strange situation and hoping I might get some assistance.
I have a workbook with considerable VBA macros and several user forms. I am at a point where I want to add another user form to allow the end user to make a model change.
Here is a screen print of what I am starting with ... This is the userform I have created ...
I now will merely add either a combo box or a list box ... like this ...
I enter appropriate named range for "control source" and "row source"
I test out the function of the user form and it works as I would expect. All my other macros seem to be working as well. I then same my work. But, now when I attempt to open the workbook, I get this error ...
To add to my confusion, although I had button called "col_width_button", it is long gone and associated macro or code is deleted. I have attempted to highlight the project in the VBA editor and then click Debug, Compile VBA and in the good version (have not yet added a combo box or list box to the user form), it seems to compile fine.
Does anyone have any idea why upon adding a list box or combo box to the user form that I am getting this issue?
Thanks,
Steve