Hyperlink Base in Microsoft Teams

Ian Van Giesen 0 Reputation points
2023-03-29T15:44:33.19+00:00

I am looking to add a hyperlink in an excel file that is stored in a Microsoft Teams folder. I am looking to hyperlink a file (PDF in this case) that is contained in the same folder. Is there a way to create a relative link, in case I move the excel file and other file to a new location? I think using a hyperlink base is the way to do this, but I am not sure.

Microsoft 365 and Office | Excel | For business | Windows
Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kael Yao 37,746 Reputation points Moderator
    2023-03-30T05:54:27.6+00:00

    Hi @Ian Van Giesen

    Based on my test, it seems possible to use a relative path.

    I uploaded an excel file and a pdf file named 01.pdf to a same folder in a team site.

    In the excel I used the format 01.pdf as the relative path in the hyperlink.

    Then I tried:

    1. moved the files to a subfolder in the same site
    2. move files to another team site
    3. download files to local disk

    the hyperlink all worked for me.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.