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 / Visit Link in Excel ba...
Power Automate
Answered

Visit Link in Excel based on User Input

(0) ShareShare
ReportReport
Posted on by 15

I am new to PowerAutomate Desktop so please excuse me.

I am requesting the user to enter in a hotel Name in a  display input dialog. Lets Say they put in Benjamin. I would like Power Automate to copy the link in E4 and open in the browser. I was not sure if i should set the whole excel document as a variable path or if there is an easier way to do this. Thanks for your insight.

jon2249_2-1653343397507.png

 

 

 

I have the same question (0)
  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    Launch Excel

    Get first free row

    Read from Excel C2 to C & %FirstFreeRow - 1% 'this is our list of hotels

    Display select from list Dialog:

    MichaelAnnis_1-1653345669510.png

    Here is what the result looks like:

    MichaelAnnis_0-1653345655814.png

    This makes it so they can't make a bad selection.

    Then, Read from Excel E & %SelectedIndex + 2% 'remember, indexes are 0 based, so Courtyard is 0, Residence Inn is 1, and so on.  So we add 2 to this index to get back to the corresponding row.  The URL for Courtyard is on E2 or E(0 + 2) where 0 is the %SelectedIndex%.

     

    In my example, I selected Benjamin, Index 2, and %ExcelData2% brought back www.benjaminhotel.com:

    MichaelAnnis_2-1653346049491.png

    Then, just Launch Chrome with %ExcelData2% and you should be good to go.

     

    Best of luck!

     

  • jon2249 Profile Picture
    15 on at

    Michael,

    You are amazing. I spent way too long on this and would have never been able to come about this. I obviously have a lot to learn and will continue to review Youtube Videos. I cant thank you enough!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 233

#2
David_MA Profile Picture

David_MA 217 Super User 2026 Season 1

#3
Valantis Profile Picture

Valantis 190

Last 30 days Overall leaderboard