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 / Write list variable as...
Power Automate
Answered

Write list variable as row in Excel

(0) ShareShare
ReportReport
Posted on by 929 Super User 2024 Season 1

Hi all,

 

When I write to Excel using a list variable, it applies the list as a column. Does anyone have a way to apply it as a row?

 

 

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

    MichaelAnnis_0-1648575342517.png

     

    We are going to join the list so that it becomes comma delimited and then use hotkeys to run the text to column filters on the active cell.

     

    The join text is:

    MichaelAnnis_1-1648575478640.png

    The Send Keys for text to columns by comma (assuming your default is tab, is)

    MichaelAnnis_2-1648575538561.png

    NOTICE THE 100 ON "DELAY BETWEEN KEY STROKES":  it slows it down just enough that it won't trample over itself.

     

    Here is the text for send keys, so you don't have to write it:  {LMenu}()azde{Return}{LMenu}(t){LMenu}(c){Return}{Return}

     

    If you are doing a loop (multiple rows), you only need "{LMenu}(t){LMenu}(c)" part the first time.  After that, comma will be the default text to columns until you close excel completely.  The other option is, you paste all the rows in column A, and then do the send keys for text to columns one time by selection all rows needed in column A first.

     

    Best of luck!  

     

  • Verified answer
    VJR Profile Picture
    7,635 on at

    One way is to do as per this post.

  • ryule Profile Picture
    929 Super User 2024 Season 1 on at

    OMG yes, that is exactly what I needed, thank you!!

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard