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

Triggering the macros when creating word document



Using Microsoft Flow I create word documents into a SharePoint document library based off a word template I created. The template contains 3 macros, 1. to format text, 2. to insert an online pic, 3. to send an email of the doc.


The problem I have, is I need a way to automatically trigger the macros to run when the document is created. Any ideas?


Currently I have set the macros to the Open() function which runs when the document is opened, but this isn't good enough. And I have tried the New() function, but no luck.


*The word documents are stored inside SharePoint Online document library.


Thank you.

Super User II
Super User II

Re: Triggering the macros when creating word document

Hi @tech18 


I just stumbled on your ticket. It's been a while since you submitted it.


I don't think this is possible in Power Automate.


Were you able to fix this? If so, can you please share so that we can all learn from it?


If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.


Helpful resources


August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!


Experience what's new for Power Automate

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


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Power Automate Community User Group Member Badge

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

Users online (3,675)