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

Announcements

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard

Featured topics