web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Start Visual Basic for Word from Power Automate

Posted on by
In my flow I'm using the Power Automate action 'Populate a MS Word document', the flow will generate a pdf document from the result of the action.

In the Word template I need a nested table. I tried making repeating section content control, inside a repeating section content control in the template, but it seems that this action does not recognizes nested tables. I tried sending html data too, but the action also doesn't seem to be able to parse html.

So instead I'm using just one table with only one repeating section content control in the template, and in Power Automate I modified the json. The only problem now is that I can't directly change the styling per row, some rows should be bold and some not. I did managed to change to the styling using Visual Basic code on the onload function, based on a type field in the json. But how can I invoke the Visual Basic code from Power Automate, since the document is never opened?

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics