Hyperlink -Syntax

B

Benjamin

'm new to VBA here.
What's the syntax for:
Go to this hypelink:

I want have a command button or text in a form hyperlink to a document on
our shared server.

I know the html syntax... can someone help me this.

Thanks in advance,
 
C

Chip Pearson

You can use

ThisWorkbook.FollowHyperlink "your_URL_here.htm"

This will work with any protocol link (e.g., http, ftp, mailto, etc)

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group, 1998 - 2009
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)
 

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

Top