+ Reply to Thread
Results 1 to 3 of 3

#NAME trying to find VB function?

  1. #1
    fedude
    Guest

    #NAME trying to find VB function?

    Hi guys. I'm new to excel programming and I wrote a macro by Alt-F11. Now
    when I access it from the worksheet I get a #NAME exception. This worksheet
    is the 4th worksheet in the workbook if that matters.

    In the editor in the obect dropdown list it says (General) and in the
    procedure drop-down list it says the name of my function. The procedure
    shows up when I select (General) or Worksheet in the object dropdown.

    Do I have to enable VB or something?

  2. #2
    Tom Ogilvy
    Guest

    RE: #NAME trying to find VB function?

    Sounds like it is in a sheet module.

    Go to the VBE and do Insert=>Module

    move your code to this module.

    --
    Regards,
    Tom Ogilvy



    "fedude" wrote:

    > Hi guys. I'm new to excel programming and I wrote a macro by Alt-F11. Now
    > when I access it from the worksheet I get a #NAME exception. This worksheet
    > is the 4th worksheet in the workbook if that matters.
    >
    > In the editor in the obect dropdown list it says (General) and in the
    > procedure drop-down list it says the name of my function. The procedure
    > shows up when I select (General) or Worksheet in the object dropdown.
    >
    > Do I have to enable VB or something?


  3. #3
    fedude
    Guest

    RE: #NAME trying to find VB function?

    Thank you. That fixed it!

    "fedude" wrote:

    > Hi guys. I'm new to excel programming and I wrote a macro by Alt-F11. Now
    > when I access it from the worksheet I get a #NAME exception. This worksheet
    > is the 4th worksheet in the workbook if that matters.
    >
    > In the editor in the obect dropdown list it says (General) and in the
    > procedure drop-down list it says the name of my function. The procedure
    > shows up when I select (General) or Worksheet in the object dropdown.
    >
    > Do I have to enable VB or something?


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1