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: Working with Microsoft Word
  2. VBA-Excel: Open word document using GetObject()
  3. VBA-Excel: Working with Bookmarks- Insert text After Bookmark
  4. Excel-VBA : Open a MS Word Document using Excel File using Explorer Window.
  5. VBA-Excel: Login To Already Opened GMAIL In An Internet Explorer (IE)