David,
I'm not sure about the hyperlink function but I am regularly posting and
retrieving information to asp pages using the MSXML4 library.
e.g.
Public Function Test(SecurityID As String) As Variant
'Accesses an asp page to retrieve information from the asp response object
'Requires a reference to MSXML4, preferably SP2, available on msdn
Dim strURL As String
Dim strParams as string
Dim vValue As Variant
Dim lRandom As Long
Dim oXML As MSXML2.XMLHTTP40
'check valid parameter and net connection state here
Set oXML = New MSXML2.XMLHTTP40
'create a variable that will force a data refresh
'because the asp server can cache return values
lRandom = Int(10000 * Rnd)
strParams = "?SecID=" & SecurityID & "&Random=" & lRandom
strURL = "
http://nnn.nnn.nnn.nnn/whatever.asp" & strParams
oXML.Open "GET", strURL, False
oXML.setRequestHeader "cache-control", "no-cache"
oXML.setRequestHeader "pragma", "no-cache"
'send the information
oXML.Send
'you need to know what the asp page sends back in its response object
'here to decipher the results
vValue = oXML.responseText
'check for an error response here
'I am getting numeric values, so convert the datatype
Test= CDbl(vValue)
Set oXML = Nothing
End Function
HTH,
Robin Hammond
www.enhanceddatasystems.com