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 merge a cell in...
Power Automate
Unanswered

How to merge a cell in excel using Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 10

I need output in the below format in excel, how to perform using Power Automate desktop

 

Shanmugapriya09_1-1707385373827.png

 

 

 

I have the same question (0)
  • kinuasa Profile Picture
    799 Most Valuable Professional on at

    Hi,
    Power Automate for desktop does not provide a dedicated action for merging cells.
    For stable processing, I recommend using a script only for the cell merging part as shown below.

     

    1. Open the workbook. (Launch Excel or Attach to running Excel action)
    2. Activates a specific worksheet. (Set active Excel worksheet action)
    3. Selects a range of cells or a named cell in the active worksheet. (Select cells in Excel worksheet action)
    4. Execute the following script to merge the cells. Please change the workbook path in the code. (Run VBScript action)
    With GetObject("C:\hoge\hoge.xlsx").Application
     .DisplayAlerts = False
     .CommandBars.ExecuteMso "MergeCells"
     .DisplayAlerts = True
    End With

    or

    With GetObject(, "Excel.Application").Application
     .DisplayAlerts = False
     .CommandBars.ExecuteMso "MergeCells"
     .DisplayAlerts = True
    End With

     

    Regards,
    kinuasa

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
Vish WR Profile Picture

Vish WR 382

#2
Valantis Profile Picture

Valantis 370

#3
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

Last 30 days Overall leaderboard