Mathew
Why are you calling the userform's Initialize event?
Why not just use Show?
hi all,
I wrote a program in Excel that calls a form to load when an action happens on a spreadsheet page, the code I used to call the form from is
however since upgrading to MSoffice 2003 i get the runtime error '53' file not found. the files still their...? any ideas?VB:sqe_portal.UserForm_Initialize
Thanks.
Mathew.
Mathew
Why are you calling the userform's Initialize event?
Why not just use Show?
Can you post the full initialise code?
Hope that Helps
Roy
For free Excel tools & articles visit my web site
If I have helped you and you feel like putting your hand in your pocket please make a donation to Children in Need
About me.
will try it with show now.VB:Private Sub Workbook_Open() sqe_portal.UserForm_Initialize End Sub
1 sec.
nope.
the show command brings up the same error.
the code is in place to bring up the user form 'sql_portal' when the workbook is opened.
is their another way I can get the form to load on startup?
Mathew.
Last edited by mathewjenkinson; January 24th, 2007 at 00:14.
mathew
As Roy has requested can you post the code?
Originally Posted by norie
see post above,
did you want the code to the following form? its a bit long...
Mathew
The code we need to see is the code for the Initialize event.
That could be where the error is actually happening.
isnt that the code for the initalize event? I'm confused..?Originally Posted by mathewjenkinson
No it's not.
That code calls the Initialize event, which is actually something I wouldn't recommend doing.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks