P
pinkfloydfan
Hi there
Using Windows XP, Excel 2003
I have created a userform to which I dynamically add controls as my
vba program runs. Having tested it, all the controls are added
correctly (and later deleted). However, when I next added the line
Myuserform.Show in order to display the form, I obtain the error:
"Invalid forward reference, or reference to uncompiled type".
When I step through the program again the error occurs once I try to
add the first control to the form before I even try and show the form.
Does anyone know what is going on here please and how to fix it?
Many Thanks
Lloyd
Using Windows XP, Excel 2003
I have created a userform to which I dynamically add controls as my
vba program runs. Having tested it, all the controls are added
correctly (and later deleted). However, when I next added the line
Myuserform.Show in order to display the form, I obtain the error:
"Invalid forward reference, or reference to uncompiled type".
When I step through the program again the error occurs once I try to
add the first control to the form before I even try and show the form.
Does anyone know what is going on here please and how to fix it?
Many Thanks
Lloyd