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. VBA-Excel: Open word document using GetObject()
  2. Excel-VBA : Send Mail with Embedded Image in message body From MS Outlook using Excel.
  3. VBA-Excel: Open an Existing Word Document
  4. VBA-Excel: Working with Microsoft Word