Be the first user to complete this post

  • 0
Add to List

VBA-Excel: Launch Mozilla Firefox using Microsoft Excel.

To launch the Mozilla  Firefox using Microsoft Excel, follow the steps mentioned below

Steps:

  • Create the object of WScript Shell
  • Call WScript.Shell Run() Function and provide the complete path for FireFox.exe
  • Set the object of WScript Shell to Nothing

Complete 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 FireFox using vbscript 



Also Read:

  1. Excel-VBA : Prevent Adding New Worksheet
  2. VBA-Excel: Perform Google Search on Internet Explorer using Microsoft Excel
  3. Excel-VBA : Open a MS Word Document using Excel File using Explorer Window.
  4. VBA-Excel: Format the Existing Table in a Word document