This is ASP code. The only major differences are the ASP framework provides
the Server and Response objects, so you don t have them here in VBA.
Server.CreateObject can simply be replaced with just CreateObject (drop the
Server.).
Response.write is how you display HTML on a web page. In this case it s how
the sample code shows the results of the web page invocation, so you can
either MsgBox it or Debug.Print it or when you re ready, store the results
wherever you want them to go. For now you may wish to try:
Msgbox PostURL("http://ssdi.rootsweb.com/cgi-bin/ssdi.cgi", "ssn="&social)
and see where you go from there.