daves
Feb 17, 2006, 12:39 PM
I need some help here.
I am writing applications for my company using Excel 2003 and Visual Basic 6.3.
The applications I have written before we got Windows XP used Excel and Visual Basic 6.0. To call up the Input form I have used the following code:
Sub auto_open()
UserForm1.Show
End Sub
When I tried to use the same code, in VB 6.3 I got the following error message
Run Time error '424':
Object required
I am not sure what to do. I have looked in the Microsoft website and all of the information I was able to find seem to indicate that this code should work.
When I ran the debug function, 'UserForm1.Show' was highlighted. I would appreciate any suggestions or information that anyone has.
Thanks
daves
I am writing applications for my company using Excel 2003 and Visual Basic 6.3.
The applications I have written before we got Windows XP used Excel and Visual Basic 6.0. To call up the Input form I have used the following code:
Sub auto_open()
UserForm1.Show
End Sub
When I tried to use the same code, in VB 6.3 I got the following error message
Run Time error '424':
Object required
I am not sure what to do. I have looked in the Microsoft website and all of the information I was able to find seem to indicate that this code should work.
When I ran the debug function, 'UserForm1.Show' was highlighted. I would appreciate any suggestions or information that anyone has.
Thanks
daves