Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Excel'97 Hyperlink Query

Old Jan 19, 2005 | 11:40 AM
  #1  
ScoobyDan's Avatar
ScoobyDan
Thread Starter
Scooby Regular
 
Joined: Apr 2001
Posts: 227
Likes: 0
From: West Sussex
Question Excel'97 Hyperlink Query

Hi All,

At work we use Excel'97, and I have a workbook that has two worksheets in it. The first sheet contains hyperlinks to locations on our Intranet. The second sheet is a summary of the first.

Text is copied across to the second sheet correctly, but the hyperlinks are not copied (just the text).

Any ideas for a solution?

TIA

Daniel
Reply
Old Jan 19, 2005 | 12:08 PM
  #2  
DJ Dunk's Avatar
DJ Dunk
Moderator
20 Year Member
iTrader: (5)
 
Joined: Nov 2001
Posts: 17,864
Likes: 0
From: Not all those who wander are lost
Default

Hello Daniel,

Rather than using the insert hyperlink command, use the hyperlink formula instead. This can be copied and pasted keeping the hyperlink and text intact.

Cheers,
Dunk
Reply
Old Jan 19, 2005 | 12:36 PM
  #3  
Bajie's Avatar
Bajie
Scooby Regular
 
Joined: Dec 1999
Posts: 2,221
Likes: 0
Default

Weird ...

I've used "CTRL K" to insert a hyperlink [to a website] and also the HYPERLINK[hyperlink_name) formula to do this.

What I want to do now is give the hyperlink a name so you don't see the URL. Any ideas. Doesn't work on the formula I used, copied here from MS Help ...

HYPERLINK(link_location,friendly_name)
Reply
Old Jan 19, 2005 | 01:31 PM
  #4  
DJ Dunk's Avatar
DJ Dunk
Moderator
20 Year Member
iTrader: (5)
 
Joined: Nov 2001
Posts: 17,864
Likes: 0
From: Not all those who wander are lost
Default

This works for me:

=HYPERLINK("http://bbs.scoobynet.co.uk","ScoobyNet")

The hyperlink is displayed as ScoobyNet

Not the same on yours ?
Reply
Old Jan 19, 2005 | 02:01 PM
  #5  
ScoobyDan's Avatar
ScoobyDan
Thread Starter
Scooby Regular
 
Joined: Apr 2001
Posts: 227
Likes: 0
From: West Sussex
Smile

Thanks Dunk, I'll give that a go this afternoon.

Daniel
Reply
Old Jan 19, 2005 | 02:23 PM
  #6  
ScoobyDan's Avatar
ScoobyDan
Thread Starter
Scooby Regular
 
Joined: Apr 2001
Posts: 227
Likes: 0
From: West Sussex
Thumbs down

Dunk,

Unfortunately, that hasn't worked.

I need the data in the summary sheet to be dynamic, so rather than doing a straight copy-and-paste, I use the formula:

=Master!Cell Ref

Even using the '=hyperlink' formula on the 'Master' sheet does not copy the hyperlink to the summary sheet, just the text.

Getting a bit peeved off now , unless the might of ScoobyNet can come up with an alternative solution

Daniel
Reply
Old Jan 19, 2005 | 03:48 PM
  #7  
Bajie's Avatar
Bajie
Scooby Regular
 
Joined: Dec 1999
Posts: 2,221
Likes: 0
Default Strange ...

Originally Posted by DJ Dunk
This works for me:

=HYPERLINK("http://bbs.scoobynet.co.uk","ScoobyNet")

The hyperlink is displayed as ScoobyNet

Not the same on yours ?
I copy/pasted your bit of code into my spreadsheet and Hey Presto! it works

Does not work if I type the code in though. Excel is very straaaange

Thanks Dunk
Reply
Old Jan 19, 2005 | 03:51 PM
  #8  
Bajie's Avatar
Bajie
Scooby Regular
 
Joined: Dec 1999
Posts: 2,221
Likes: 0
Default

Originally Posted by ScoobyDan
Dunk,

Unfortunately, that hasn't worked.

I need the data in the summary sheet to be dynamic, so rather than doing a straight copy-and-paste, I use the formula:

=Master!Cell Ref

Even using the '=hyperlink' formula on the 'Master' sheet does not copy the hyperlink to the summary sheet, just the text.

Getting a bit peeved off now , unless the might of ScoobyNet can come up with an alternative solution

Daniel
Can you make the formula a variable and refer to that in your hyperlink code?

eg

Dim MASTER as variant

MASTER =Master!Cell Ref

HYPERLINK(MASTER, "Master")
Reply
Old Jan 19, 2005 | 04:02 PM
  #9  
DJ Dunk's Avatar
DJ Dunk
Moderator
20 Year Member
iTrader: (5)
 
Joined: Nov 2001
Posts: 17,864
Likes: 0
From: Not all those who wander are lost
Default

I'm getting a little confused here Do you two work together or is this 2 separate problems ?

You can use cell references within the formula, just do.

=HYPERLINK(Master!,A1)

This will copy the hyperlink including text to a cell on another sheet. Is this what you mean ?
Reply
Old Jan 19, 2005 | 05:06 PM
  #10  
Bajie's Avatar
Bajie
Scooby Regular
 
Joined: Dec 1999
Posts: 2,221
Likes: 0
Default

Originally Posted by DJ Dunk
I'm getting a little confused here Do you two work together or is this 2 separate problems ?
There's only one of me. And some say that's more than enough

I paid a visit here as I was really getting frustrated with naming a hyperlink. I wrote the code exactly the same as your example but it did not want to work. Even checked with an old version of the spreadsheet and saw no differences :Confused: No worries, it works now

Most of the macro's I create in excel are using vba which is why my coding is always long-winded
Reply
Old Jan 20, 2005 | 01:55 PM
  #11  
ScoobyDan's Avatar
ScoobyDan
Thread Starter
Scooby Regular
 
Joined: Apr 2001
Posts: 227
Likes: 0
From: West Sussex
Talking

Originally Posted by DJ Dunk
I'm getting a little confused here Do you two work together or is this 2 separate problems ?

You can use cell references within the formula, just do.

=HYPERLINK(Master!,A1)

This will copy the hyperlink including text to a cell on another sheet. Is this what you mean ?
Thanks for your help Dunk...

I tried your suggestion and it still wouldn't work, so in the end I extracted all of the hyperlinks into a seperate column, then used the 'hyperlink' command to combine the hyperlinks with the text.

Daniel
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Mattybr5@MB Developments
Full Cars Breaking For Spares
28
Dec 28, 2015 11:07 PM
Mattybr5@MB Developments
Full Cars Breaking For Spares
12
Nov 18, 2015 07:03 AM
leg200
Subaru Parts
5
Oct 7, 2015 07:31 AM
ALEXSTI
General Technical
5
Sep 28, 2015 09:29 PM
Ozne
General Technical
2
Sep 27, 2015 03:06 PM


Thread Tools
Search this Thread

All times are GMT +1. The time now is 04:26 AM.