+ Reply to Thread
Results 1 to 3 of 3

Developer addin not working in network shared drive

Hybrid View

xenos55 Developer addin not working... 03-23-2016, 05:30 AM
LordLoki Re: Developer addin not... 03-23-2016, 07:37 AM
xenos55 Re: Developer addin not... 03-24-2016, 08:43 PM
  1. #1
    Registered User
    Join Date
    03-19-2016
    Location
    Malaysia
    MS-Off Ver
    2010
    Posts
    3

    Developer addin not working in network shared drive

    Hi all,

    I am a newbie in VBA. I have a addin that count colour cell in a worksheet. It work well in local drive but the formula not working when other user access it in share drive. Even they have the script because the username in the formula is different.

    example : me xxxxxxxxxxxxxxxxx

    ='C:\Users\xxxxxxxxxxxxx\AppData\Roaming\Microsoft\AddIns\countcolour.xlam'!CountCcolor('V:\1.0 CDPU\CDPU Attendance\[Consumer Support 2016.xlsx]Feb'!$AC$9:$AH$9,Sheet3!A1)


    when user YYYYYYYYYYYY open the file from the shared drive it not working because it still have the user xxxxxxxxxxxxxxxxxxxxx

    ='C:\Users\xxxxxxxxxxxxx\AppData\Roaming\Microsoft\AddIns\countcolour.xlam'!CountCcolor('V:\1.0 CDPU\CDPU Attendance\[Consumer Support 2016.xlsx]Feb'!$AC$9:$AH$9,Sheet3!A1)




    I tried to install the addin to user y pc and also put the vba code in share drive. Is there any way to work around?


    Thank you.

  2. #2
    Forum Contributor
    Join Date
    04-20-2015
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    312

    Re: Developer addin not working in network shared drive

    could you post that addin? i dont understand what all the path things relate to

    By the way there is a simple tutorial from Microsoft explaing exactly this:

    https://support.microsoft.com/en-us/kb/2815384

    When you do it like they describe there you just need to copy the Xlam file to the addins folder of all users that need it and then activate it. then it shouldnt matter where you put the file as long as they have the Addin activated.

    You could also put that code directly into the Workbook where its needed that way you dont need to install it anywehre
    Last edited by LordLoki; 03-23-2016 at 07:45 AM.

  3. #3
    Registered User
    Join Date
    03-19-2016
    Location
    Malaysia
    MS-Off Ver
    2010
    Posts
    3

    Re: Developer addin not working in network shared drive

    Hi Loki,


    Below are addin script. This add in is in my pc. I also add to other PC. but in the formula. It remain ='C:\Users\xxxxxxxxxxxxx\AppData\Roaming\Microsoft\AddIns\countcolour.xlam'!CountCcolor('V:\1.0 CDPU\CDPU Attendance\[Consumer Support 2016.xlsx]Feb'!$AC$9:$AH$9,Sheet3!A1) . So user yyyyyyyyyyyyyyy can't have the formula to run it.

    Basically I run the formula above to summarize the count of color cell.


    Function CountCcolor(range_data As range, criteria As range) As Long
    Dim datax As range
    Dim xcolor As Long
    xcolor = criteria.Interior.ColorIndex
    For Each datax In range_data
    If datax.Interior.ColorIndex = xcolor Then
    CountCcolor = CountCcolor + 1
    End If
    Next datax
    End Function


    Really need help.

+ 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. Running and addin from a network Drive
    By gyro11 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-24-2016, 11:56 PM
  2. Replies: 3
    Last Post: 08-20-2013, 02:46 PM
  3. Replies: 3
    Last Post: 04-18-2013, 04:42 AM
  4. Excel 2007 Loader to Access. Error running on shared network drive
    By jvbeats in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2013, 11:54 AM
  5. [SOLVED] Windows XP : Network drive mapping not working
    By Sammitry in forum Microsoft Windows Help
    Replies: 3
    Last Post: 07-23-2012, 05:32 AM
  6. Need Macro that saves a second copy of an Excel spreadsheet to a shared network drive
    By rockhunter in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-27-2011, 01:42 PM
  7. VBA Shared Network Drive
    By Eighmey in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-12-2009, 04:48 PM
  8. [SOLVED] Excel Vb to move a file to a shared network drive????
    By Angela in forum Excel General
    Replies: 0
    Last Post: 04-03-2006, 06:45 PM

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