FollowHyperlink Method

K

Keith

I am using the following code to open a webpage from a macro in excel

ActiveWorkbook.FollowHyperlink Address:="http://testserver/test.aspx",
ExtraInfo:="ID=1", Method:=msoMethodPost, NewWindow:=False

This code works fine when the workbook is opened within excel, however when
the workbook is opened within an Internet Explorer Window the aspx page does
not receive any post data and the page REQUEST_METHOD is set to GET.

I can use the following successfully but I really would like to hide the
parameter string from the user.

ActiveWorkbook.FollowHyperlink Address:="http://testserver/test.aspx?ID=1",
NewWindow:=False

Is there any way getting this functionality working within IE?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top