Show Buttons
Share On Facebook
Share On Twitter
Share On Google Plus
Share On Linkdin
Share On Reddit
Contact us
Hide Buttons

VBA-Excel: Launch Mozilla Firefox using Microsoft Excel.

To launch the Mozilla  Fire­fox using Microsoft Excel, fol­low the steps men­tioned below

Steps:

  • Cre­ate the object of WScript Shell
  • Call WScript.Shell Run() Func­tion and pro­vide the com­plete path for FireFox.exe
  • Set the object of WScript Shell to Nothing

Com­plete Code:

Function FnLaunchFF()

   Dim objShell

   Set objShell = CreateObject("WScript.Shell")

    objShell.Run ("""C:\Program Files (x86)\Mozilla Firefox\Firefox.exe""")

   Set objShell = Nothing

End Function
launch FireFox using vbscript

launch Fire­Fox using vbscript 

 

You may also like...

1 Response

  1. Nihar says:

    Gajab Bhai

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: