I am using this code below to open a website with Chrome via VBA, however Chrome starts in the taskbar and I have to click on the icon to open the actual Chrome window. Do I need to add something in the code to have Chrome opened maximized?
Private Sub CommandButton11_Click()
Dim chromePath As String
chromePath = """C:\Program Files\Google\Chrome\Application\chrome.exe"""
Shell (chromePath & " -url https://google.com")
Unload Me
End Sub