Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 262
Default FollowHyperlink Method

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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FollowHyperlink to OLEObject Tony Excel Programming 0 January 5th 05 10:15 PM
followhyperlink method issue Kanan Excel Programming 0 August 20th 04 01:05 AM
FollowHyperlink Mike Archer[_3_] Excel Programming 0 December 19th 03 12:26 PM
followhyperlink Mike Archer[_2_] Excel Programming 0 December 18th 03 03:19 PM
followhyperlink failure Ron Dahl Excel Programming 2 November 4th 03 02:51 PM


All times are GMT +1. The time now is 09:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"