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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

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
    Microsoft Employee 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard