Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBScript to open webpage with a variable value 1

Status
Not open for further replies.

VBCMJZ

Technical User
Jun 3, 2016
2
US
I have this script and it opens the webpage fine. If I code PRO=253717177" in the run statement, it opens the page and tracking.
I am trying to use a the value of the tracking variable and PRO=tracking uses tracking as the PRO number.
How do I get it to use the value?
Thank you in advance.

tracking= "253718177"
Set shell = createobject("WScript.Shell")
shell.run "
 
I think this is what you're looking for:

shell.run "www2.RLCARRIERS.COM/FREIGHT/SHIPPING/SHIPMENT-TRACING?&PRO=[highlight #FCE94F]" & tracking & "[/highlight]&docType=PRO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top