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 / Text and tables from W...
Power Automate
Unanswered

Text and tables from Word to Excel

(0) ShareShare
ReportReport
Posted on by 37

Hi everyone,

I have question about my flow in Power Automate Desktop.

I want to read text and tables from a Word document in such a form that they are transferred to excel in separate rows.
Unfortunately the workflow at the moment pastes everything in the first row of the first column. I suspect I should parse it into a table, but I'm not sure if this is the correct path.

Power Automate question.png
I have the same question (0)
  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @AlexPower ,

     

    Please find the solution. I am considering your Word Output as a List. If it is not a list use Split Text to split it will make it into a list.

     

    VishnuReddy1997_0-1715329450360.png

     

    Code:

     

    Word.LaunchWord.LaunchAndOpen Path: $'''C:\\Users\\Desktop\\Word Document.docx''' Visible: True ReadOnly: False Instance=> WordInstance
    Word.ReadFromWord.Read Instance: WordInstance WordData=> WordOutput_Data
    Excel.LaunchExcel.LaunchAndOpenUnderExistingProcess Path: $'''C:\\Users\\Desktop\\Power Automate Desktop\\Practice\\Input.xlsx''' Visible: True ReadOnly: False Instance=> ExcelInstance
    SET RowValue TO 1
    LOOP FOREACH CurrentItem IN WordOutput_Data
     Excel.WriteToExcel.WriteCell Instance: ExcelInstance Value: CurrentItem Column: $'''A''' Row: RowValue
     Variables.IncreaseVariable Value: RowValue IncrementValue: 1
    END

     

     

    (Note:- if you got your solution you can mark as solution and gives kudos)


    Thanks & Regards

    Vishnu Reddy

  • pradeepvarma Profile Picture
    55 on at

    Try the below activity to convert that text into a list using the appropriate (return key) as delimiter.

    Split text 
    Then you may use that list to write in your excel either directly by using a loop or create a data table, append to it and then write it / use it anywhere else in the process.

     

    If it works for you, kindly mark it as a solution.

     

    Regards,

    Pradeep Varma

    Follow on LinkedIn

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 411

#2
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard