web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract Hyperlink from...
Power Automate
Unanswered

Extract Hyperlink from Text in Excel-Cell

(0) ShareShare
ReportReport
Posted on by 6

Hi,

 

I have an excel sheet with a cell which has a Text + Hyperlink (eg. "Link"). 

Is it possible to extract the hyperlink of the text in the cell separately using a flow-action?

The flow reads rows from an excel-file into a list. Every time a new excel-file is dropped into the folder, new rows are appended to the SharePoint list.

 

But I have not been able to extract the link yet.  Is there a way to do this?

Thank you very much for your help.


Tobias

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @tobias_fate :

    The list rows present in table does not return the hyperlink, only the text.

    So you might have to create another column in your excel table that has the hyperlink itself.For example:

    1\Add a custom function to get the url

    • ALT + F11 and then navigate to  Microsoft Visual Basic for Applications
    • insert-Modult and then copy this code into the Module
    Function GetURL(pWorkRng As Range) As String
    'Updateby Extendoffice
     GetURL = pWorkRng.Hyperlinks(1).Address
    End Function

     

    vbofengmsft_0-1623915432388.png

    2\Add a new column and set it's value to 

    =getURL(thecell)

    vbofengmsft_1-1623915509563.png

    I think this link will help you a lot:

    How To Extract Actual Addresses From Hyperlinks In Excel?

     

    Best Regards,

    Bof

     

  • tobias_fate Profile Picture
    6 on at

     

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard