most
Board Regular
- Joined
- Feb 22, 2011
- Messages
- 107
- Office Version
- 365
- 2019
- Platform
- Windows
- Mobile
I'm running crazy on this, why doesn't example two work?
VBA Code:
Dim oShell As Object
Set oShell = CreateObject("Wscript.Shell")
oShell.Run ("https://www.google.com/search?q=yeah")
VBA Code:
Dim oShell As Object
stringit = "yeah"
Set oShell = CreateObject("Wscript.Shell")
oShell.Run "(" & Chr(34) & "https://www.google.com/search?q=" & stringit & Chr(34) & ")"