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

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users


We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

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

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (54,736)