adding hyperlinks

  • Thread starter Thread starter greg
  • Start date Start date
G

greg

Hello,
I am in excel. adding a hyperlink to a range.
So
Range.Hyperlinks.Add
Now it seems to want 2 items
Anchor As Object, Address As String
What is this anchor?
I am already adding it to a range object.
from the range object I already have,
can I create this anchor object? how can I do that?
thanks
 
Just use Selection for the Anchor, like this:

ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= etc.

Hope this helps,

Hutch
 

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

Back
Top