+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : cant find the vba function i've created

  1. #1
    Registered User
    Join Date
    10-27-2010
    Location
    Mass
    MS-Off Ver
    Excel 2003
    Posts
    43

    cant find the vba function i've created

    I'm experimenting with VBA in excel for the first time and I'm having trouble finding the function I've created. This is my process:

    1. Click the visual Basic editor button on the developer tab
    2. Insert -> Module
    2. Enter the code for my function
    3. Close the Visual Basic editor
    4a. Type my function into a cell which results in #NAME?
    4b. Press shift+F3 to bring up the Insert Function dialog box. I was told there is a "User Defined" category but there is no such category in my drop down list.

    The function I'm trying to use is here: http://www.ozgrid.com/VBA/sum-count-cells-by-color.htm
    Last edited by Nutshell; 10-27-2010 at 09:22 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: cant find the vba function i've created

    Are you (as instructed on the OzGrid link) inserting the code into a Standard Module ?

  3. #3
    Registered User
    Join Date
    10-27-2010
    Location
    Mass
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: cant find the vba function i've created

    Quote Originally Posted by DonkeyOte View Post
    Are you (as instructed on the OzGrid link) inserting the code into a Standard Module ?
    I'm not sure what "Standard" means, but I just went to Insert -> Module. Ah i guess I should have put that in my process. I'll edit my first post.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: cant find the vba function i've created

    Can you attach the workbook that has the code in it?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: cant find the vba function i've created

    I would suggest posting a sample file which contains the results of your steps 1 through 4a

+ 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