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: Change Font, Color, Weight of Table Data in the Word document
  3. VBA-Excel: Read Data from XML File
  4. VBA-Excel: Appending Text to an Existing Word Document - at the End
  5. VBA-Excel: Enumerate all the opened word document
  6. VBA-Excel: Create and Save the Word document
  7. VBA-Excel: Create worksheets with Names in Specific Format/Pattern.
  8. VBA-Excel: Update XML File