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 Platform Community / Forums / Power Automate / Launch PAD Flow from A...
Power Automate
Answered

Launch PAD Flow from Access Button

(0) ShareShare
ReportReport
Posted on by 86

I need to create a button in MS Access that can run a PAD flow. Simple need.  Seems like 2 or 3 lines of code...

 

For the life of me, I can't find the thread.  I've heard there's a way to create a VBA script that can launch/run a PAD flow, but I can't find how to do it.  Can someone give an example of the code?  I recall it had something to do with web-based flows and a recent addition enabling them to be called from VBA but can't find the thread.  

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
  • Verified answer
    demaionewton Profile Picture
    86 on at

    That was only partially helpful. In that it included the need to create a shortcut to get a path to run the file.  For those who are interested, in need.  Here's what you need to do:

    1. Create the shortcut shortcut as defined here: https://learn.microsoft.com/en-us/power-automate/desktop-flows/run-desktop-flows-url-shortcuts?source=recommendations

    2. Open the Properties on the created shortcut and copy the Path to the clipboard.

    3. Create a button in Access with the VBA code:

    Dim WshShell
    Set WshShell = CreateObject("Wscript.Shell")
    WshShell.Run """PASTEthePATHtoTHEDesktopShortcutHERE"""

     

    The first time you click the button it will warn you the Flow is being opened externally.  Click ok and it runs.

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

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 953

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 622

Last 30 days Overall leaderboard