Be the first user to complete this post
|
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

Also Read:
- VBA-Excel: Writing Text to Word document
- VBA-Excel: Working with Bookmarks- Insert text After Bookmark
- VBA-Excel: Create and Save the Word document
- VBA-Excel: Create worksheets with Names in Specific Format/Pattern.