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 / UPDATE excel com docum...
Power Automate
Unanswered

UPDATE excel com documento fechado

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Estou tendo problemas ao dar UPDATE em um documento excel, ele passa pelo comando, entende que esta com status alterado e vai para o proximo caso, mas quando eu paro a automação e olho no documento, ele esta com status inicial.

Quando roda com o documento excel aberto, ele consegue dar UPDATE  normalmente.

  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Use Bing translator and share query again. 

  • VJR Profile Picture
    7,635 on at

    Translation:

    UPDATE excel with closed document

    I am having problems when UPDATE in an excel document, it goes through the command, understands that the status is changed and goes to the next case, but when I stop the automation and look at the document, it is with initial status.

    When it runs with the excel document open, it can UPDATE normally.

  • VJR Profile Picture
    7,635 on at

    Are you saving and closing the Excel instance in the end?

    Please share screenshots of the flow and if you can mention the translated actions that would be great.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    This robot was migrated from Winautomation to power, it worked correctly, but after the migration, it stopped working.

    With the document open it does UPDATE, but closed it does not, this prevents the robo from working where it left off if it is necessary to stop.

     

    FlowFlowopen SQL connectionopen SQL connectionrun SQL statementrun SQL statement

  • VJR Profile Picture
    7,635 on at

    Could you share what you meant by Excel Open? 

    How did you keep the Excel open and run the query?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I kept excel open and followed run the SQL command

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    before opening connection to excel I opened the document to run with it open.

  • ThomasFonn Profile Picture
    273 on at

    Not sure if this is helpful or even make a difference, but the Connection String site provides some insights into the connection string

     

    The file format your are using is a .xls rather than .xlsx which may lead to some inconsistencies when using Extended Properties="Excel 12.0" rather than Extended Properties="Excel 8.0"

     

    You could try to change the connection string, OR try "Save As" on the file and change the format of the file to a newer file format to see if it makes a difference.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    thank you very much, I will test and inform the result.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Winautomation had difficulties with the documents .xlsx, now with the migration to power automate, I do not think i have this problem.

     

    I changed the document .xlsx, but still the same problem, what Extended Properties do I use for Office 365?

     

    before that update has another one that works normally, but the one is still having problems.

     

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 159

Last 30 days Overall leaderboard