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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking from Excel to Internet

Status
Not open for further replies.

basil3legs

Programmer
Jun 13, 2002
157
GB
I know it is quite easy to import tables etc. from websites into Excel, however is it possible to get an Excel 2000 spreadsheet to act as a form and send information back to a website? As it needs to act as a form, I can't put variables/values at the end of an HTML address.

The code I currently have is:

Sub Button1_Click()

ActiveWorkbook.FollowHyperlink Address:=" NewWindow:=False, ExtraInfo:="partcode=ABC", Method:=msoMethodPost

End Sub

(The main lines are all on one line)

but the extrainfo does not go across. If I use the msoMethodGet then the ExtraInfo is attached to the end of the URL but nothing gets done with it using msoMethodPost.

Can anyone see what I am doing wrong?

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top