Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Autoupdate excel by macro using powerapps



Since Powerapps cant handle tables with formulas i made an macro in excel which copies the values in a table with formulas to another table as single values. I tried to set the macro to run when the excel file opens, closes, saves but nothing works. 
Somehow when the powerapp update the excel sheet the macro wont run. Any suggestions?

Community Support
Community Support

Hi @Tomjoh92,


Please close the Excel file session when doing data modification within PowerApps.


For working with Excel in PowerApps, please check:

OverView of excel connection in PowerApps





Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Copied from the Office support page (


"Currently, you can't work with macros in Excel Online. But you can open a workbook that contains macros—you just won't see them. In Excel Online, you can make changes to its worksheets and save the workbook, and the macros will still be there to work with when you open it in the Excel desktop application."

Frequent Visitor


did you get any solution to run this Excel macro from PowerApps ?




Helpful resources

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.


Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (9,643)