+ Reply to Thread
Results 1 to 1 of 1

Problem sharing workbooks that use UDFs from add-ins to other users

  1. #1
    Registered User
    Join Date
    01-13-2020
    Location
    London
    MS-Off Ver
    2016 (Windows)
    Posts
    1

    Problem sharing workbooks that use UDFs from add-ins to other users

    Hi all,

    I've been trying to share a workbook with a third party in which I use several UDFs that are defined in an add-in (I call it 'TableMatch.xlam'). I ask the third party (currently the third party is being represented by my old laptop, for testing purposes) to paste TableMatch.xlam into the appropriate add-ins directory, and make sure it is activated (tick in the tick box) in the list of add-ins under Options > Add-ins > Manage [Excel add-ins]{Go}. I hoped that Excel would then interpret formulae referencing the relevant UDFs (say MyFunction(a,b,c) for example) as references to the function MyFunction in the add-in. Instead, however, the formulae get expanded out to e.g. 'C:\Users\...\Addins\TableMatch.xlam'!MyFunction(a,b,c). That path does not exist on the third party computer and so the formula returns an error. I should note that the functions in TableMatch.xlam are referenced both in formulae in the workbook and via VBA functions included in a module in the workbook itself - to facilitate this, I've included a "Reference to TableMatch.xlam' in the main workbook (see attached image to calrify what I mean). That's not something I've done before and I really don't understand the wider implications of including that reference (and in particular whether it is making it more complicated to keep the references to MyFunction() working).

    I've struggled to find a good article online that explains how Excel handles this type of situation, and how I could resolve it, so I was hoping someone could point me in the right direction. I apologise in advance to the gods of Excel if this is essentially a result of not doing things properly, I'm very much self-taught and just trying to hack things together - grateful for any advice or pointers to articles on how to make this (or any) type of system of UDFs robust to sharing to other users's computers . I appreciate that the simplest answer would be not to use complicated systems of UDFs in workbooks I want to share with third parties, but (in my head...) I do have reasons for doing it this way!

    Yours,

    Chris
    Attached Images Attached Images

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Sharing with other users
    By CamiWami in forum Excel General
    Replies: 4
    Last Post: 05-19-2019, 06:28 PM
  2. [SOLVED] Sharing a workbook with users without Office
    By p3rlend in forum Excel General
    Replies: 2
    Last Post: 08-24-2016, 11:29 AM
  3. Problem sharing linked Workbooks
    By jzethmayr in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-16-2015, 01:23 PM
  4. Sharing workbook with multiple users
    By Climaxgp in forum Excel General
    Replies: 1
    Last Post: 05-04-2011, 05:09 AM
  5. Problems opening other workbooks from UDFs
    By cyber553 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-24-2007, 11:48 AM
  6. Sharing workbook among few users
    By Dhruva101 in forum Excel General
    Replies: 1
    Last Post: 08-24-2006, 06:25 PM
  7. [SOLVED] When Sharing settings dont appear the same for all users
    By Nodak in forum Excel General
    Replies: 1
    Last Post: 02-10-2005, 08:06 AM

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