+ Reply to Thread
Results 1 to 2 of 2

Function error

  1. #1
    Registered User
    Join Date
    10-12-2007
    Posts
    30

    Function error

    I have created a user defined function to calculate a royalty. It works in my file - as soon as I send the file to someone else it doesn't work - the cells change to "name" error
    I've opened up VBA in the new file and the module is there.
    The only thing that I can see is that if I try and insert the function again - the name comes up as the full file name not just "Royalty".
    Any thoughts.

    Dk

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464
    Quote Originally Posted by DavidK
    I have created a user defined function to calculate a royalty. It works in my file - as soon as I send the file to someone else it doesn't work - the cells change to "name" error
    I've opened up VBA in the new file and the module is there.
    The only thing that I can see is that if I try and insert the function again - the name comes up as the full file name not just "Royalty".
    Any thoughts.

    Dk
    Do you mean that **only** the module is there, and not the UDF?

    Does the following URL help?

    http://www.decisionmodels.com/calcsecretsj.htm

+ 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