Results 1 to 3 of 3

Thread: [RESOLVED] Variable Not Defined?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    546

    Resolved [RESOLVED] Variable Not Defined?

    I am using a module in my project, and my app refers to text in the module...(RegistryLocation in this case)...But ever since I added more code to Declarations, it says: Variable Not Defined...and highlights this:

    RegistryLocation =

    It was working fine before, but ever since I added more code it doesnt work. Anyways I dont know what to do...I've tried putting the new code into modules, but then it can't find that either. Thanks.
    Last edited by JBD2; Jul 18th, 2005 at 07:41 PM.

  2. #2
    Frenzied Member
    Join Date
    Oct 2003
    Posts
    1,301

    Re: Variable Not Defined?

    Tell us more.

    What code did you have?
    What did you add?
    Do you have Option Explicit at the top of the module?

    Maybe you should just define the variable.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2005
    Posts
    546

    Re: Variable Not Defined?

    Yeah sorry I should've tried more before I did it, declaring it helped.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width