Start edge with vba and open explorer view automaticliy.

Hartmut Mueller 0 Reputation points
2025-07-26T20:19:24.9333333+00:00

VBA code for "Start edge with vba and open explorer view automaticliy"

Microsoft Edge | Browser extensions | Windows 11
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kimberly Olaño 7,885 Reputation points Independent Advisor
    2025-07-26T21:00:39.4+00:00

    Hi Hartmut, this is Kimberly, an independent advisor, I'm glad to assist you today.

    If your goal is simply to launch Edge with a specific page (which can mimic Explorer view if you're pointing to a file system URI), you can do:

    Sub LaunchEdge()

    Dim url As String
    
    url = "microsoft-edge:file:///C:\Your\Folder\Path\"  ' or a web URL
    
    Shell "cmd /c start " & url, vbNormalFocus
    

    End Sub

    This works because Edge recognizes microsoft-edge: protocol URIs.

    This will open Edge directly, navigating to the folder path or website you specify.

    Should you have questions, please let me know.

    Best regards,

    Kimberly

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.