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 / How to fill a range of...
Power Automate
Answered

How to fill a range of cells in excel at once with one particular value?

(0) ShareShare
ReportReport
Posted on by 21

[Power Automate Desktop] Without using a loop, how can I fill a range of cells in excel with one particular value?

 

I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @reginaldbal 
    This sequence is not beautiful by any means but it works.
    Suppose you want to fill A1 to A6 with value A:
    1. 'Launch Excel' with a blank sheet
    2. 'Write to Excel worksheet' write in A1 (row=1, column=1) the value A
    3. 'Copy cells from Excel worksheet' copy cell A1 (row=1, column=1)
    4. 'Select cells in Excel worksheet': select the remaining range you want to fill. In our example it's A2 to A6 (row=2, column=1 to row=6, column=1)
    5. 'Focus window', class= XLMAIN (in order to use send keys properly)
    6. 'Send keys' {LControlKey}({V}) (this sends Ctrl+V)

  • garthh Profile Picture
    138 on at

    Yasunm02, thank you, works with formulas also!

    Garth

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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard