Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default adding hyperlinks

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,069
Default adding hyperlinks

Just use Selection for the Anchor, like this:

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

Hope this helps,

Hutch

"greg" wrote:

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



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default adding hyperlinks

ok, thanks

"Tom Hutchins" wrote in message
...
Just use Selection for the Anchor, like this:

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

Hope this helps,

Hutch

"greg" wrote:

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





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding row to sheet; having hyperlinks follow Ryan Vande Excel Worksheet Functions 2 October 18th 09 02:40 AM
Adding Multiple Hyperlinks to Excel [email protected] Excel Programming 3 February 28th 07 04:58 PM
Hyperlinks doing weird things when adding columns or rows hssmith Excel Worksheet Functions 0 December 30th 05 04:21 PM
adding hyperlinks [email protected] Excel Programming 1 January 28th 05 02:40 PM
file automatically adding hyperlinks Robin Witkop-Staub Excel Programming 8 October 17th 03 01:18 AM


All times are GMT +1. The time now is 04:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"