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
Unanswered

VBA Macros- connect

(0) ShareShare
ReportReport
Posted on by

Hi everyone, 

Does anyone have idea how to run Macro.xlsm file on Power automate cloud.

I have a flow in which I have to run macro enabled file , i am confused what to put in script section of the Run script activity.

 

Like , how what's the concept between this , i am very new to power automate,excel ,VBA , please let me to understand how these things will work 

 

Thank you in advance.

IMG20220929161337.jpg

  • IMG20220929161430.jpg

Categories:
I have the same question (0)
  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi @Anjali_Rani ,

     

    You can run Microsoft Office Scripts using Run scripts connector. Please refer below link for Office Scripts overview:

    https://www.youtube.com/watch?v=il7YS7Dx228

     

    If you want to run VBA Macro in your local machine then Create a Desktop flow to run Excel macro

    Kaif_Siddique_0-1664477459854.png

    Now, call that Desktop flow using Power Automate cloud.

     

    Hope this will help you.

     

    Regards

    Kaif

Under review

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

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 223

#2
David_MA Profile Picture

David_MA 210 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 175

Last 30 days Overall leaderboard