Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Hamish Jones   on Sep 07 In MS Office Category.

  
Question Answered By: Leroy Schmidt   on Sep 07

Set a reference for Microsoft XML.

DIM X As MSXML.XMLHTTPRequest
Dim sURL As String
Dim strResults As String

The rest of your existing code  is rather similar, though I would pass
the variable (SSN) during the initial request, For example...

Set X = New MSXML.XMLHTTPRequest
sURL =
"www.overstock.com/.../d2.cgi
N=0&keywords=" & sSocial
Call X.Open("GET", sURL, True)
X.Send (Null)
strResults = X.responseText

Set X = Nothing

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Convert into VBA Or get search suggestion and latest updates.


Tagged: