vba: FollowHyperlink ; is there a character limit workaround?

RoccoDyce

New Member
Joined
Sep 28, 2009
Messages
4
I am trying to build a hyperlink to match a 3rd party site's search string. They have their search setup to list every single field, even if blank, which makes for a long url.

I have found that I can build a url that would work if I cut and paste into a browser but I cannot use FollowHyperlink on the same url. The long url gets truncated to the first 1023 characters.

I have also tried to use the FollowHyperlink Extrainfo to see if it increases the length of the url but it does not.

Any suggestions?
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Are you sure you need the entire URL?

I've seen sites where you follow a link and the initial URL is much shorter than the URL you finally end up at.

Sometimes it seems to happen using some sort of redirection, other times via code or other methods.

Perhaps it's worth trying a shorter URL.
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,850
Members
452,948
Latest member
UsmanAli786

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top