+ Reply to Thread
Results 1 to 2 of 2

Is it possible to change a part of a link according to cell value?

  1. #1
    Registered User
    Join Date
    09-20-2019
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    1

    Question Is it possible to change a part of a link according to cell value?

    I want to autopopulate a database based on excel documents that constantly tick in. I have linked each cell in the database to cells in the files, but the path to each file changes, so I need to change the link.

    An example. File V00001 ticks in. Cell A2 contains the following link: ='//XXXXXXXXX-my.sharepoint.com/personal/YYYYYYYYYYY/Documents/[V00001.xlsx]VRF'!$D$56

    File V00002 ticks in, and the link: ='//XXXXXXXXX-my.sharepoint.com/personal/YYYYYYYYYYY/Documents/[V00001.xlsx]VRF'!$D$56 should now be ='//XXXXXXXXX-my.sharepoint.com/personal/YYYYYYYYYYY/Documents/[V00002.xlsx]VRF'!$D$56

    How do I make that change automatically? I cant change it based on cell value.

    Please help me, my current situation is sooo time consuming.

    Thank you in advance.

    Kind regards
    Patrick Olsen

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Is it possible to change a part of a link according to cell value?

    You can, using INDIRECT.... but ONLY if the source file is OPEN.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help 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. Replies: 1
    Last Post: 06-14-2019, 02:56 PM
  2. Replace part of link with cell value
    By rafuk73 in forum Excel General
    Replies: 11
    Last Post: 06-15-2015, 12:21 PM
  3. Replies: 8
    Last Post: 06-26-2014, 12:16 PM
  4. Macro to change part of query link
    By ALERTas in forum Excel General
    Replies: 0
    Last Post: 05-16-2012, 03:10 PM
  5. [SOLVED] Using a cell reference as part of a link
    By Missy in forum Excel General
    Replies: 3
    Last Post: 02-03-2006, 04:50 PM
  6. Replies: 1
    Last Post: 10-25-2005, 05:14 AM
  7. Replies: 1
    Last Post: 10-04-2005, 04:05 AM

Tags for this Thread

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