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

Triggering the macros when creating word document

Hi,

 

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.

1 REPLY 1
Super User
Super User

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.

Cheers
Manuel

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,476)