PC Review


Reply
Thread Tools Rate Thread

copying the Hyperlink function result without copying the actual formula

 
 
mcheng
Guest
Posts: n/a
 
      8th Jun 2007
Hi, What I'm hoping to do is to copy the =Hyperlink(A1,B1) result onto
a new cell with the actual linked text, but without the formula. So
if A1 has "http://google.com" and B1 has "link", then rather than
using the above formula (which will read the same on the cell), the
destination cell will read "link" hyperlinked to http://google.com
without the =hyperlink formula. The reason I want to do this copying
is to reuse the cells A1 and B1 for other entries. Can anyone help?
Thanks.
~michael

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Ymo=?=
Guest
Posts: n/a
 
      8th Jun 2007
does
="""" & B1 & """" & " hyperlinked to " & A1
do what you want?

"mcheng" wrote:

> Hi, What I'm hoping to do is to copy the =Hyperlink(A1,B1) result onto
> a new cell with the actual linked text, but without the formula. So
> if A1 has "http://google.com" and B1 has "link", then rather than
> using the above formula (which will read the same on the cell), the
> destination cell will read "link" hyperlinked to http://google.com
> without the =hyperlink formula. The reason I want to do this copying
> is to reuse the cells A1 and B1 for other entries. Can anyone help?
> Thanks.
> ~michael
>
>

 
Reply With Quote
 
mcheng
Guest
Posts: n/a
 
      9th Jun 2007
Thanks bj, but no because i want to somehow capture the contents of b1
without it being there after the procedure. (i.e. cut and paste
rather than reference). So I'm wondering if is there a way to write a
UDF so that I'm using paste.special with values and hyperlink retained
and without the formula....

Or, if there's a UDF to direct the content of the quotations below to
the contents of the cell?
(i.e.
ActiveCell.FormulaR1C1 = "link"
Range("B2").Select
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="http://
google.com" , TextToDisplay:="link")

rather than "link" specified, to have it refer it to B1 and the
Address:= be specified to the content of A1?

Thanks again,
Michael

On Jun 8, 10:21 am, bj <b...@discussions.microsoft.com> wrote:
> does
> ="""" & B1 & """" & " hyperlinked to " & A1
> do what you want?
>
> "mcheng" wrote:
> > Hi, What I'm hoping to do is to copy the =Hyperlink(A1,B1) result onto
> > a new cell with the actual linked text, but without the formula. So
> > if A1 has "http://google.com" and B1 has "link", then rather than
> > using the above formula (which will read the same on the cell), the
> > destination cell will read "link" hyperlinked tohttp://google.com
> > without the =hyperlinkformula. The reason I want to do this copying
> > is to reuse the cells A1 and B1 for other entries. Can anyone help?
> > Thanks.
> > ~michael



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
why does the formula show instead of the result when copying? rws Microsoft Excel Misc 0 27th May 2009 09:02 PM
Copying a formula but only getting the result LL Microsoft Excel Worksheet Functions 3 22nd May 2008 09:22 PM
Copying result of formula into another worksheet??? =?Utf-8?B?QW1hbmRh?= Microsoft Excel Misc 3 15th Apr 2005 09:40 PM
only copying the result of a formula electric_d Microsoft Excel New Users 2 21st Jan 2004 10:45 PM
Re: Copying function result to a new sheet.. Micheal Microsoft Excel Worksheet Functions 0 11th Jul 2003 06:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:29 AM.