Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 290
Default Please Help! Object Required suddenly, was working before!

Hi all,

I am running a userform and from my first form (main menu) I choose
which form to open, now when I click on one particular button which
says

Private Sub NotifyTerminate_Click()
Unload Me
Notify.Show vbmodless
End Sub

It bugs out and says "Object Required", this has just suddenly
happened, I dont know why because the form called "Notify" is still
there with still same name........

Maybe file corrupt, does anyone know of this happening before and the
possible cause?

Many thanks in advance

Duncan

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 290
Default Please Help! Object Required suddenly, was working before!

Please ignore this post, I have resolved this.

What had happened was that I had renamed an object, but not changed the
object name called in the userform initialise event.

I didnt see this at first becase the debug only highlighted the line
showing the userform, and thus I didnt think to look at the userform
initialise because I thought it hadnt even got to that.

It is fixed now, I panicked a bit too soon! Thanks anyway

(I dont know how to post a message as topic answered, but this topic
should be ignored now)

Duncan


Duncan wrote:

Hi all,

I am running a userform and from my first form (main menu) I choose
which form to open, now when I click on one particular button which
says

Private Sub NotifyTerminate_Click()
Unload Me
Notify.Show vbmodless
End Sub

It bugs out and says "Object Required", this has just suddenly
happened, I dont know why because the form called "Notify" is still
there with still same name........

Maybe file corrupt, does anyone know of this happening before and the
possible cause?

Many thanks in advance

Duncan


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,092
Default Please Help! Object Required suddenly, was working before!

Perhaps the spelling of vbModeless

Mike F
"Duncan" wrote in message
ps.com...
Hi all,

I am running a userform and from my first form (main menu) I choose
which form to open, now when I click on one particular button which
says

Private Sub NotifyTerminate_Click()
Unload Me
Notify.Show vbmodless
End Sub

It bugs out and says "Object Required", this has just suddenly
happened, I dont know why because the form called "Notify" is still
there with still same name........

Maybe file corrupt, does anyone know of this happening before and the
possible cause?

Many thanks in advance

Duncan



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
My formulas in excel are suddenly not working. Help! mathteacher Excel Worksheet Functions 5 April 26th 08 08:08 AM
Sumproduct suddenly not working Andy Excel Discussion (Misc queries) 7 July 11th 05 10:56 PM
Worksheet change suddenly not working Romanian37[_8_] Excel Programming 3 August 11th 04 11:31 AM
HELP!! Macro suddenly not working onedaywhen Excel Programming 0 February 9th 04 10:41 AM
HELP!! Macro suddenly not working rodt[_2_] Excel Programming 0 February 7th 04 06:28 AM


All times are GMT +1. The time now is 07:26 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"