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


Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users


We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Kudoed Authors
Users online (38,593)