+ Reply to Thread
Results 1 to 3 of 3

Excel not recognizing Add-In Function names... sometimes

  1. #1
    Registered User
    Join Date
    03-28-2008
    Posts
    10

    Excel not recognizing Add-In Function names... sometimes

    Hey guys,

    I'm testing an add-in I created and I ran into this weird problem: While developing the add-in, I had the work-in-progress VBA code stored in a particular excel file. Now that I verified that all the code works, and made it all into and Add-In, I wanted to test it on the same "test" file I was using before.
    So with the add-in properly installed, I go into the "test" file, remove its existing VBA module (with the rough draft code), and attempt to call the new Add-In functions from the worksheet. Most of them work as expected, but a few others return the #NAME? error when called. I was confused by this inconsistency, so I decided to test all the functions in a blank workbook... and they all worked perfectly. I test further by calling the functions from a different "test" sheet (after deleting its existing VBA module), and none of the functions work on that one.

    WTH is going on??

  2. #2
    Registered User
    Join Date
    01-02-2007
    Posts
    39
    I can't tell you why, but I've had the same issue. I got around it simply by coping my worksheets into a fresh workbook, and then moving the VBA code into the fresh workbook.

    I've also had issues trying to run an add-in when another workbook containing the same module/sub/function names was open.

    Hope this helps.
    Bradley D. Clouser
    www.ExcelPro.org

  3. #3
    Registered User
    Join Date
    03-28-2008
    Posts
    10
    Thanks BradC,

    I played around with it, and there is no rhyme or reason as to why and to what extent this occurs. You workaround works fine, so problem solved I guess..

+ 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