FollowHyperlink ExtraInfo string max length?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hmmm, I have been using the ActiveWorkbook.FollowHyperlink function without
any problems until I tried to put in a large string in the ExtraInfo field.
If the string is 846 characters it works, if it is 847 characters then it
fails. I tried using the GET & POST methods but it fails both ways.

The function fails with the following error:

Run-Time Error -2147024882 (8007000e)

From what I can tell this refers to a "Ran out of memory" error.

Is this a known limitation within Excel/VB?
Or am I just missing something obvious...

Code Snippet
=================================================
Dim info As String

info = "Really long string..."

' Push this data to the web page and popup a web browser window
ActiveWorkbook.FollowHyperlink _

Address:="http://www.somesite.com/loadForm.do", _
NewWindow:=False, _
AddHistory:=False, _
ExtraInfo:=info, _
Method:=msoMethodPost

=================================================


I'm using Excel 2003 which came with MS Office Basic Edition 2003.
 

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

Back
Top