Re: Runtime Error 91

Tech-Archive recommends: Speed Up your PC by fixing your registry




Set a breakpoint on this line...

frmSeminarRequest.Show

When VB stops on that line, right click the code window and select
Toggle/Break On Unhandled Errors... then, hit F5 to continue running. VB
should then stop on the line that actually raised the error.

If "frmSeminarRequest" is a variable name, and not an actual form's name,
you will need that "Set" statement you mentioned. It would look like...

Set frmSeminarRequest = New ActualNameOfForm
frmSeminarRequest.Show

<dweiters@xxxxxxxxxxxxx> wrote in message
news:b791796a-ca7f-433e-ab01-5658a39161a8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Dec 9, 12:50 pm, "amdrit" <amd...@xxxxxxxxxxx> wrote:

Thanks Amdrit. That sorta makes sense to me (novice), but I'm unclear
on how to set the object variable or what the next line of code should
be.


.



Relevant Pages

  • Re: More information on being flummoxed...
    ... >In the code window, if I have the cursor in any event and hit F5, it runs ... >slide event is not listed, as though the code can't see it. ...
    (microsoft.public.powerpoint)
  • RE: Run-Time error "70" Permission Denied
    ... In the code window, place your cursor ... Now hit F8. ... >> error might be in a form intialize or form activate event. ...
    (microsoft.public.excel.programming)
  • Re: InstrRev function?
    ... > What's New listing sent me back to InStr so I just assumed the syntax ... Type it in a code window so you'll get intellisense as you type. ... Help will open and show you the syntax for that method. ... double clicked the word to select it and hit F1. ...
    (microsoft.public.vb.general.discussion)
  • Re: InstrRev function?
    ... >> What's New listing sent me back to InStr so I just assumed the syntax ... >Type it in a code window so you'll get intellisense as you type. ... Help will open and show you the syntax for that method. ... double clicked the word to select it and hit F1. ...
    (microsoft.public.vb.general.discussion)
  • Access 2000: Code Window wont appear
    ... I am running Access 2000, and for some reason my code window just stopped ... appearing when I'd either hit the code button, ...
    (microsoft.public.access.setupconfig)