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 / In Power Automate Desk...
Power Automate
Suggested Answer

In Power Automate Desktop, how would I do a right click in an Excel cell and select a menu item?

(0) ShareShare
ReportReport
Posted on by 2

I'm trying to build a flow that copies data from one sheet to another sheet. The data that is being copied is a calculated formula. I'd like to copy the values and not to formula for various reasons.

I have figured out how to copy the data in Power Automate. However, when I paste it in, it comes in with the formula.

I was thinking I could do a UI automation and do a right click on the excel and select the option to paste in text.

However, I'm not sure how to do that.

Categories:
I have the same question (0)
  • Suggested answer
    Robu1 Profile Picture
    1,459 Super User 2025 Season 2 on at
     
    Thank you for choosing Microsoft Community.
     
    Copying values instead of formulas in Power Automate can be a bit tricky, but it's definitely doable. 
    Here are a couple of approaches you can consider:
     
    Using Power Automate Actions

    Get the Data: Use the "Get a row" or "Get rows" action to retrieve the data from your source sheet.
    Compose Action: Use the "Compose" action to store the values. This will strip out the formulas and keep only the values.
     
    Insert Data: Use the "Add a row" or "Update a row" action to insert the values into the destination sheet.
     
    Using UI Automation

    If you prefer to use UI automation to handle this, you can simulate the right-click and paste as values.
     
    Here’s a basic outline of how you can achieve this:
    Launch Excel: Use the "Launch Excel" action to open your Excel file.
    Select Cell: Use the "Select Cell" action to navigate to the cell you want to copy.
    Copy Data: Use the "Send Keys" action to simulate pressing Ctrl+C to copy the data.
    Right-Click and Paste: Use the "Send Keys" action to simulate a right-click and navigate the context menu to select "Paste Special" and then "Values".
     
    If this fixes the issue, please mark as resolved to help others with find it.
     
    Happy to help 
     
    Robu 1

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard