paulthepilot
New member
- Local time
- Today, 12:27
- Joined
- Sep 19, 2008
- Messages
- 3
I have the following code that will not work
Dim StrUrl As String
StrUrl = http://www.racingpost.co.uk/horses/trainer_form.sd?trainer_id=17740
Call Shell("explorer.exe " & StrUrl, vbMaximisedFocus)
The following does work
Dim StrUrl As String
StrUrl = http://www.racingpost.co.uk/
Call Shell("explorer.exe " & StrUrl, vbMaximisedFocus)
Why, when I add the rest of the url does it not work
The url is valid and works as a hyperlink
I don't want to use a hyperlink because I will eventually change the id to a query generated number
Help !
Dim StrUrl As String
StrUrl = http://www.racingpost.co.uk/horses/trainer_form.sd?trainer_id=17740
Call Shell("explorer.exe " & StrUrl, vbMaximisedFocus)
The following does work
Dim StrUrl As String
StrUrl = http://www.racingpost.co.uk/
Call Shell("explorer.exe " & StrUrl, vbMaximisedFocus)
Why, when I add the rest of the url does it not work
The url is valid and works as a hyperlink
I don't want to use a hyperlink because I will eventually change the id to a query generated number
Help !
Last edited by a moderator: