troubleshooting Question

excel followhyperlink with cells

Avatar of Mutsop
MutsopFlag for Belgium asked on
Microsoft ExcelVB Script
2 Comments1 Solution348 ViewsLast Modified:
Hi,

I'm trying to setup a button on my excel sheet which will open IE or any other browser using some parameters as cell values:

As you can see in the code below I would like to have
ms=BE&iso=BE&vat=0404494849

BE as cell A5 for example (both)
Vat as cell A6

Any ideas,

Regards
Sub Knop3_BijKlikken()
    ActiveWorkbook.FollowHyperlink Address:="http://ec.europa.eu/taxation_customs/vies/viesquer.do?ms=BE&iso=BE&vat=0404494849", _
    NewWindow:=True
End Sub
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros