?
Solved

excel followhyperlink with cells

Posted on 2009-12-23
2
Medium Priority
?
327 Views
Last Modified: 2012-06-22
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

Open in new window

0
Comment
Question by:Mutsop
  • 2
2 Comments
 
LVL 3

Author Comment

by:Mutsop
ID: 26112264
Well already found the solutions...
For those interested:
0
 
LVL 3

Accepted Solution

by:
Mutsop earned 0 total points
ID: 26112268

Sub Knop3_BijKlikken()
    ActiveWorkbook.FollowHyperlink Address:="http://ec.europa.eu/taxation_customs/vies/viesquer.do?ms=" & Range("D6") & "&iso=" & Range("D6") & "&vat=" & Range("B7"), _
    NewWindow:=True
End Sub

Open in new window

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

579 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question