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 / I can't get power Auto...
Power Automate
Unanswered

I can't get power Automate to copy a cell?

(0) ShareShare
ReportReport
Posted on by 9

I can't get power Automate to copy a cell.  Please don't direct me to a static page, I have read everything... I think the system is broken or I am not able to see over my fingertips.   Argument 'Instance' must be 'Excel instance'. Can someone help me with  I can't get power Automate to copy a cell?

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

    Can I see your flow?

     

    At least from the Launch Excel (or attach to running Excel) before the copy action to the copy action that is erring out.  Also, please send a second screenshot of the inside of the action to copy the cell so I can see the specifics that you have in there for each parameter. 

    One thing you could try is focusing the window before the copy action. I understand you shouldn’t have to, but it’s worth a shot. 

  • 001hughes Profile Picture
    9 on at

    configuration and errorconfiguration and errorMain flowMain flowrefernecerefernece

  • 001hughes Profile Picture
    9 on at

    Hi There Michael Annis,

    I really appreciate you helping me.  Thank you.  

    Happy New Year. 

    Glenn

     

     

    1 power.PNG

  • Zave Profile Picture
    88 on at

    Your flow seems to be failing on the action "Set active Excel worksheet", and based on the screenshot, you have provided the excel instance variable in the wrong field:

    Zave_0-1641229086108.png

     

  • 001hughes Profile Picture
    9 on at

    I feel like I have a learning disability...  I have followed your example to the letter and it still does not work.  I think I am not understanding you Zave.  Please talk to me as if I am two years oldpower 4.PNG and learning to walk.  

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    The name of the worksheet is whatever the physical tab is named in Excel (ex. Sheet1).

     

    Read from Excel will not "Copy"...it will just read it to the variable created (in your case %CellData%)

  • 001hughes Profile Picture
    9 on at

    I have changed everything around and it still does not work.   Also, is there a way for me to buy consulting...   This is such a stupid issue that someone on a zoom call could help me in 30 seconds.   HELP!!

     

    power 5.PNG

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Nope...you had the instance right before....%excel%  it has to be the same the variable created in your Launch Excel (your first screenshot):

    MichaelAnnis_1-1641232421058.png

     

     

    This should get you fixed.  If not, I can zoom later this afternoon (no charge).  Unfortunately, I have a deadline in an hour that I need to finish up.

  • Zave Profile Picture
    88 on at

    The following actions will launch an excel file > set the active spreadsheet > read the value of the first cell (copy/paste in your flow):

     

    Excel.LaunchExcel.Launch Visible: True LoadAddInsAndMacros: False Instance=> ExcelInstance
    Excel.SetActiveWorksheet.ActivateWorksheetByName Instance: ExcelInstance Name: $'''Sheet1'''
    Excel.ReadFromExcel.ReadCell Instance: ExcelInstance StartColumn: $'''A''' StartRow: 1 ReadAsText: False CellValue=> ExcelData

    You should be able to retrieve the value by changing the 1st action so as to open your excel file and the name of the spreadsheet.

     

    Note:

    The 1st action will produce the variable you need for the following excel actions, it's an ID for the excel file you just opened (in case you open multiple files). In the above example, I left the default name %ExcelInstance%.

     

    The 2nd action can be omitted if your excel file does not have multiple tabs. In case you use it, you'll need to provide the actual name of the spreadsheet and the correct excel instance from the 1st action:

    Zave_0-1641233953771.png

     

    The 3rd action will read the value from the A1 cell.

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 442

#2
Vish WR Profile Picture

Vish WR 328

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard