+ Reply to Thread
Results 1 to 6 of 6

Add-In needs relinking?

  1. #1
    Registered User
    Join Date
    02-24-2004
    Posts
    15

    Add-In needs relinking?

    Hello all. I've created an add-in that will be stored on a shared network drive for my co-workers to use. I'm running into a problem because every time I reopen a spreadsheet that uses a custom function in the add-in, excel says that it can't locate the function. I have to end up relinking to the .xla every time to get teh user-defined functions to work.

    I think the problem is that the security settings in excel is set to medium. Is this true? To add to my frustration with this, our IT department won't let us lower our security settings to low. Is there something else that I can do fix this problem.

    Thanks.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Curare,

    Interesting, choosing strychnos toxifera as a name. Sorry, I have had a long standing interest in horticulture. Depending on which version of Office you have, you might try digitally signing your Add-In. This system will then recognize your Add-In as safe.

    Sincerely,
    Leith Ross

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    To add to my frustration with this, our IT department won't let us lower our security settings to low.
    Your IT department is showing good common sense. You wouldn't do that at home, would you?

    When a workbook references UDFs in an add-in, it creates hard-coded links to the location of the add-in, and moving the add-in (like from your computer to a network drive) breaks those links.

    I think you can have your users 're-enter' the formulas (F2, Enter, and copy down), and things will be hunky-dory until IT moves the add-in.

    The clean(er) solution is registering the functions. See http://www.jkp-ads.com/Articles/RegisterUDF00.htm

    Edit: It may be the case that the simpler option of registering with MacroOptions works. In the ThisWorkbook module of your add-in:
    Please Login or Register  to view this content.
    I have not used the latter method. If you choose to try it, would you be so kind as to post back and let us know if it works for you?
    Last edited by shg; 11-09-2007 at 04:54 PM.

  4. #4
    Registered User
    Join Date
    02-24-2004
    Posts
    15
    Thanks for the responses. I've brought this issue up with my superiors and we will discuss what needs to be done at a higher level to see if we can request our IT department to provide us with a digital certificate. I'll let you know what end up deciding.

    Thanks again!

  5. #5
    Registered User
    Join Date
    02-24-2004
    Posts
    15
    Ok I tried the registering the functions per that article. That didn't work either. Excel keeps saying it can't find those functions even when I haven't moved the location of the add-in. Oh well, hoping IT will be able to help me out.

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You shouldn't need a digital certifcate if the addin is installed correctly - Tools > Add-ins > Browse
    Hope that helps.

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

    Free DataBaseForm example

+ 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