Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
error "Excel has found unreadable Content" | Excel Discussion (Misc queries) | |||
using % button gives error "percent style not found" Can I reset? | Excel Discussion (Misc queries) | |||
Getting "compile error" "method or data member not found" on reinstall | Excel Programming | |||
"file not found" error message when launching source file | Excel Programming | |||
"Member Not Found" Error with Excel 2000 | Excel Programming |