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 : Send a Excel Workbook as Attachment in Mail From MS Outlook Using Excel
  2. Excel-VBA : Prevent Changing the WorkSheet Name
  3. VBA-Excel: Writing Text to Word document