Thread
:
Need Macro To Open URL Link
View Single Post
#
5
Posted to microsoft.public.excel.worksheet.functions
Don Guillett
external usenet poster
Posts: 10,124
Need Macro To Open URL Link
Sub gotourlvariable()
ActiveWorkbook.FollowHyperlink Address:="http://" & ActiveCell.Value
End Sub
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
"Launchnet via OfficeKB.com" <u20911@uwe wrote in message
news:779300ca6b421@uwe...
Thanks . . .
The website name in the cell is changed from time to time so I need
something
like the following:
ActiveWorkbook.FollowHyperlink Address:="http://(ActiveCell.Value),
NewWindow:
=True"
I tried this, but since my programming ability is so week I don't know the
syntax.
Can you help with this?
Thanks
Matt@Launchnet
- wrote:
The FollowHyperlink is nice and compact.
ActiveWorkbook.FollowHyperlink Address:="http://www.ebay.com",
NewWindow:=True
Add the "http://" part to your website string either in the macro or in
the
cell. Excel complains without it.
In Excel I have
www.ebay.com
in cell K16.
[quoted text clipped - 7 lines]
Matt@Launchnet
--
Please take a look at
www.openoursite.com
Click on: "Keywords" and then
Click on "Matt's Story" and if you are a man, you should be very happy
that
you read my story. God Bless for everyones help.
Message posted via
http://www.officekb.com
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett