+ Reply to Thread
Results 1 to 3 of 3

AddIn.Path property

  1. #1
    Forum Contributor
    Join Date
    04-11-2014
    Location
    Norway
    MS-Off Ver
    Office 365 version 2302
    Posts
    152

    AddIn.Path property

    Hi,

    I have an Macro Addin that is shared with my coworkers.

    The Addin is located in a shared folder, in that way I can edit the Macro without anybody have to reinstall macro. Even though I tell them to not save the Addin locally during installation, some of them do it anyway, and will then miss the updates.

    I was thinking that I could add to the Macro that it would check the Addin location before running any codes. If Addin is loaded from shared folder, then run the code as usual. If it is loaded from local folder, then message box "Please reinstall Macro to Shared Folder"

    I tried using AddIn.Path with no luck.


    Any ideas?

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,256

    Re: AddIn.Path property

    Assuming it's an xlam add-in, you should use ThisWorkbook.Path
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Contributor
    Join Date
    04-11-2014
    Location
    Norway
    MS-Off Ver
    Office 365 version 2302
    Posts
    152

    Re: AddIn.Path property

    Thank you!

+ 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. Error: Unable to set the installed property of the Addin class
    By ubludkisranye in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2021, 08:33 AM
  2. Unable to set the Installed property of the Addin class
    By J_Arm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2017, 10:23 AM
  3. change path of excel addin using vba
    By dessertlover in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-21-2014, 10:37 PM
  4. Addin broke, source path displayed
    By Shinga in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-07-2013, 11:07 AM
  5. Remove full addin(.xla) path from formula bar
    By komalmarkan in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-12-2013, 11:37 AM
  6. Addin path not updating
    By msleger in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2007, 02:17 PM
  7. Unable to set installed property of addin
    By polandjc in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-15-2005, 10:05 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