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 / copy from a web page t...
Power Automate
Unanswered

copy from a web page to Excel spreadsheet

(1) ShareShare
ReportReport
Posted on by 33

Problem:

Web application produces a window:

dheminger1018_0-1705594923355.png

I need to copy this to a blank Excel spreadsheet.

Manually, I would Ctrl-A, Ctrl-C and Ctrl-V into cell A1 of the Excel spreadsheet.

The Excel would automatically parse into columns and I would save with the appropriate name.

 

I have tried many different things:

Extract data from web page;

Take screenshot of web page;

Extract data from window;

I have tried storing the output of the above in ClipboardText;

Also, storing it directly to an ExcelInstance. ( get all information in A1)

The above will not paste into my blank Excel sheet.

 

I have tried Send Keys {Control}{(A)}

{Control}{(C)} to web page(error "There isn't an active application to send keystrokes to.", then {Control}{(V)} to ExcelInstance. 

 

I summary, I have tried many different avenues but I cannot get the information to Excel as if I had done it manually.

 

All help is appreciated.  Thank you,

David

I have the same question (0)
  • crelke Profile Picture
    75 on at

    Have you tried using the "Get details of webpage" action? To grab the page details and then paste into the excel file? You might need to parse out some html in that output, but that should get you all text on the web page.

    crelke_0-1705598683393.png

     

  • dheminger1018 Profile Picture
    33 on at

    Did not work.

    I used Write to Excel worksheet to paste data:

    dheminger1018_1-1705602840127.png

     

    All in cell A1.  Also, not even all text from the webpage in the cell:

    dheminger1018_0-1705602664863.png

    I scrolled thru the data in the formula box and all is not there.

     

    Any other ideas?

     

    David

  • Arshavince Profile Picture
    6 on at

    Hi did you ever solve this? 

    I am doing a similar thing and I have taken the advice and used "get details of webpage" and set it to webpage text. 

    When pasted it looks the same as yours, but it goes beyond the height of the cell, even though there are many more lines of text stored.

    You can use "data to columns" in excel and then use "ctrl+J" as a delimiter which is for the carriage return. This will give you each line of text in A1 in separate cells in row 1. 

    You can then copy and transpose paste this information into column A. 

    From there you might be able to do some sort of automation to restructure it how you need it. I'm going to try and transform the data in power automate before I put it in excel as I think it will be easier to work with there.

    Since this is from a web app, though, is the web app provider not able to produce this as a standalone report for you? 

    The other thing that I have come across is inspecting the UI elements of the page by manually adding a UI element from the UI elements panel, and then going "inspect ui elements". 
    In this way you can more easily select UI elements that are otherwise hard to click using the tool. Once you have the base CSS you can paste it into the extract data from web > advanced step. 

    Arshavince_0-1706786722922.png

     

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    This is because Get details of element in web page returns a single string.

    I recommend trying to use Extract data from web page. This will result in a data table. When you write the data table into Excel, it will write it properly, with each value being sent to an appropriate cell.

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
David_MA Profile Picture

David_MA 267 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 196

#3
Haque Profile Picture

Haque 182

Last 30 days Overall leaderboard