Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

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 Team
Community Support Team

Re: Autoupdate excel by macro using powerapps

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.
Super User
Super User

Re: Autoupdate excel by macro using powerapps

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."

Helpful resources


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 74 members 3,814 guests
Please welcome our newest community members: