Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Getting a "File Not Found" error when trying to show userform

I am creating a userform.I have created a macro that calls the userform

When I select the button, I get a "File not Found" error. When I then select
debug, it reports:
RUN-TIME ERROR '361'
Can't load or unload this object.


Macro code is:

Sub InputForm()

UserForm1.Show

End Sub


I do have my form named UserForm1 (defualt)


Right now the form is pretty simple.
I am just starting it.

Thanks
Bruce

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Getting a "File Not Found" error when trying to show userform

Any chance you're clicking a button that runs a macro that shows the form?

If yes, check that button to see where that assigned macro really is. It could
be pointing to a different workbook.

If you look at VBA's help for "Trappable errors", you'll see that 361 just
describes what you described--that the object couldn't be loaded.



Bruce wrote:

I am creating a userform.I have created a macro that calls the userform

When I select the button, I get a "File not Found" error. When I then select
debug, it reports:
RUN-TIME ERROR '361'
Can't load or unload this object.

Macro code is:

Sub InputForm()

UserForm1.Show

End Sub

I do have my form named UserForm1 (defualt)

Right now the form is pretty simple.
I am just starting it.

Thanks
Bruce


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
error "Excel has found unreadable Content" JLMHoss Excel Discussion (Misc queries) 10 August 20th 08 03:54 AM
using % button gives error "percent style not found" Can I reset? Light Excel Discussion (Misc queries) 3 March 16th 06 12:18 PM
Getting "compile error" "method or data member not found" on reinstall Bp Excel Programming 1 April 23rd 04 04:42 PM
"file not found" error message when launching source file Lisa[_9_] Excel Programming 4 April 6th 04 02:54 PM
"Member Not Found" Error with Excel 2000 Paul Excel Programming 2 August 14th 03 03:22 PM


All times are GMT +1. The time now is 11:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"