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.  

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 237 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 194

Last 30 days Overall leaderboard