VBA Snippets: Execute URL or Application

MicrosoftThis post is part of the series on VBA Snippets.

it is possible to execute a URL or application in VBA using the Windows Shell Execute API function. In this snippet I am executing a URL, but this could be an application.

Before you can call ShellExecute in code you need to add the following line to the declarations at the top of the mdoule:

Private Declare Function ShellExecute Lib...

Continue Reading Ian Grieve’s Article on their blog

VBA Snippets: Execute URL or Application

This post is part of the series on VBA Snippets. it is possible to execute a URL or application in VBA using the Windows Shell Execute API function. In this snippet I am executing a URL, but this could be an application.

Blog Syndicated with Ian Grieve’s Permission

Author: Ian Grieve

Share This Post On