#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 144
Default hyperlinks

Hi all,

Sorry that I am somewhat impatient. August 2 11.41 my time zone, I posted
the request for help you see below.
I don't know what to do with the "name section" ( TextToDisplay:="") of the
instruction

ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= "",
TextToDisplay:=""

because the text to display is the text (name) that already is in each cell
that should become a hyperlink.

TIA

Jack
------------------------------------------------------------------------------------------------------
Hi all,

Im my workbook in sheet 1 I have 100 names in A2:A101.
I want to make each name a hyperlink that leads to the cell with the
corresponding rownumber in column BB of sheet 2.
So clicking the name/hyperlink in A8 of sheet 1 leads to BB8 in sheet 2.
Etc.
I can't figure out the code.
Your assistance will be appreciated.

Jack Sons
The Netherlands


  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default hyperlinks

simplest is to just delete the texttodisplay section , it will then use the
existing display

"Jack Sons" wrote:

Hi all,

Sorry that I am somewhat impatient. August 2 11.41 my time zone, I posted
the request for help you see below.
I don't know what to do with the "name section" ( TextToDisplay:="") of the
instruction

ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= "",
TextToDisplay:=""

because the text to display is the text (name) that already is in each cell
that should become a hyperlink.

TIA

Jack
------------------------------------------------------------------------------------------------------
Hi all,

Im my workbook in sheet 1 I have 100 names in A2:A101.
I want to make each name a hyperlink that leads to the cell with the
corresponding rownumber in column BB of sheet 2.
So clicking the name/hyperlink in A8 of sheet 1 leads to BB8 in sheet 2.
Etc.
I can't figure out the code.
Your assistance will be appreciated.

Jack Sons
The Netherlands



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 144
Default hyperlinks

bj,

Thanks a lot, briljant.
By the way. I think this is not documented in help, or is it?

Jack.

"bj" schreef in bericht
...
simplest is to just delete the texttodisplay section , it will then use
the
existing display

"Jack Sons" wrote:

Hi all,

Sorry that I am somewhat impatient. August 2 11.41 my time zone, I posted
the request for help you see below.
I don't know what to do with the "name section" ( TextToDisplay:="") of
the
instruction

ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:=
"",
TextToDisplay:=""

because the text to display is the text (name) that already is in each
cell
that should become a hyperlink.

TIA

Jack
------------------------------------------------------------------------------------------------------
Hi all,

Im my workbook in sheet 1 I have 100 names in A2:A101.
I want to make each name a hyperlink that leads to the cell with the
corresponding rownumber in column BB of sheet 2.
So clicking the name/hyperlink in A8 of sheet 1 leads to BB8 in sheet 2.
Etc.
I can't figure out the code.
Your assistance will be appreciated.

Jack Sons
The Netherlands





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
How toi turn-off hyperlinks [excel]? Email hyperlinks pop up ! jacob735 Excel Discussion (Misc queries) 1 June 22nd 07 12:57 AM
.pdf hyperlinks Dove Red Robin Excel Discussion (Misc queries) 6 August 24th 06 07:48 PM
Hyperlinks Louise Excel Worksheet Functions 4 June 13th 06 02:04 PM
Excel Hyperlinks- cell content v. hyperlinks herpetafauna Excel Discussion (Misc queries) 2 May 23rd 06 04:39 AM
Hyperlinks David Rivera Excel Discussion (Misc queries) 1 February 1st 06 08:05 PM


All times are GMT +1. The time now is 03:30 PM.

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

About Us

"It's about Microsoft Excel"