+ Reply to Thread
Results 1 to 4 of 4

External links to files saved in shared drives that uses different letters

  1. #1
    Registered User
    Join Date
    02-21-2017
    Location
    Norway
    MS-Off Ver
    2016 (Win10)
    Posts
    76

    External links to files saved in shared drives that uses different letters

    Hi,

    Our users are split by departments and in each department, they mapped specific shared file servers into specific drives (K:, T: etc).
    some of the file servers are shared across different departments but the staff in these departments do not use the same letters for the drive.

    We have this workbook that has external links to the file servers..example.."W:\1_C\1.13 Data\2018\0318\Report\Draft\FileJan"

    But this W drive path is mapped as X in another user. That means when this user open the report, the file is unable to update itself and the user needs to use edit links to reset the source path to X.

    This is a HUGE workbook and I am hoping to find a solution without changing the drives in all the users. I cannot use VB because of the lack of VB competence in the office.

    We are using Excel 2016 and windows 10. The workbook is in xlsx format.

    Please help!

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,176

    Re: External links to files saved in shared drives that uses different letters

    dont use drive letters, use full UNC paths,
    \\server\folder\folder\file.txt

  3. #3
    Registered User
    Join Date
    02-21-2017
    Location
    Norway
    MS-Off Ver
    2016 (Win10)
    Posts
    76

    Re: External links to files saved in shared drives that uses different letters

    Hi

    So i should just use "find/replace" to replace all the "W.:\" to \\server\xx\?

    This file is so huge that just changing source takes ages.

  4. #4
    Forum Expert
    Join Date
    10-02-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    1,222

    Re: External links to files saved in shared drives that uses different letters

    Its may not be quite as simple as find/replace. Its possible if it fits the pattern it will work.

    The UNC path is the path to the resource thats the same for everyone. They are in the format of (were server is the hostname or IP of the server):

    \\server\folder\folder\...

    The mapped path is a letter assigned to the source path, and can be a different letter for each person:

    W:\folder

    The mapped path above might assume W = \\server\folder\folder\ and the \folder part is a 3rd level folder in the UNC path.

    While it can be uniform for everyone (and likely should be, its possible someone may have \\server\folder\folder\ = W:\ and someone else has \\server\folder\ = W:\

    When I need to get the UNC path I use a VBA function I created for the conversion. If you know the UNC path and it fits the pattern then you could use find/replace. I have found however Windows makes it hard to determine the UNC path most of the time if all you have is the mapped drive.

    You may consider something similar, converting the path using VBA.
    Ways to get help: Post clear questions, explain your overall goal, supply as much background as possible, respond to questions asked of you by those trying to help and post sample(s) files.

    "I am here to help, not do it for people" -Me

+ 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. Replies: 1
    Last Post: 03-19-2015, 08:39 PM
  2. Replies: 0
    Last Post: 04-02-2014, 03:25 PM
  3. Possible to have a shared workbook update external data links?
    By scottatbuckman in forum Excel General
    Replies: 1
    Last Post: 03-03-2014, 12:38 AM
  4. Replies: 1
    Last Post: 09-09-2013, 11:41 AM
  5. Issues with many .xlsx files saved in a shared dropbox
    By vin.napoli in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 10-12-2012, 06:23 AM
  6. Finding files on external drives...
    By trumb1mj in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-02-2006, 04:30 PM
  7. Creating Links to files in a shared directory
    By grewpp in forum Excel General
    Replies: 4
    Last Post: 02-09-2006, 12:25 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