PC Review


Reply
Thread Tools Rate Thread

Create a hyperlink with concatenate and copy to a different workbo

 
 
akay71
Guest
Posts: n/a
 
      5th Jun 2008
Hello All,
I am trying to create a hyperlink using concatenate after I get the
hyperlink created I need to copy the hyperlink to a different workbook. Is
this possible? Thanks.

 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      5th Jun 2008

Website = "http://example.microsoft.com"
Subdir = "/help"

set newbk = workbooks.open(filename:="c:\temp\abc.xls)

With newbk.Worksheets("Sheet1)
.Hyperlinks.Add .Range("E5"), Website & Subdir
End With

"akay71" wrote:

> Hello All,
> I am trying to create a hyperlink using concatenate after I get the
> hyperlink created I need to copy the hyperlink to a different workbook. Is
> this possible? Thanks.
>

 
Reply With Quote
 
akay71
Guest
Posts: n/a
 
      5th Jun 2008
Thanks, Is there a way to just show text like "Click Here" for the link.

"Joel" wrote:

>
> Website = "http://example.microsoft.com"
> Subdir = "/help"
>
> set newbk = workbooks.open(filename:="c:\temp\abc.xls)
>
> With newbk.Worksheets("Sheet1)
> .Hyperlinks.Add .Range("E5"), Website & Subdir
> End With
>
> "akay71" wrote:
>
> > Hello All,
> > I am trying to create a hyperlink using concatenate after I get the
> > hyperlink created I need to copy the hyperlink to a different workbook. Is
> > this possible? Thanks.
> >

 
Reply With Quote
 
Joel
Guest
Posts: n/a
 
      5th Jun 2008
Use TextToDisplay

Website = "http://example.microsoft.com"
SubDir = "/help"

Set newbk = Workbooks.Open(Filename:="c:\temp\abc.xls")

With newbk.Worksheets("Sheet1")
.Hyperlinks.Add .Range("E5"), _
Address:=Website & SubDir, _
TextToDisplay:="joel"

End With



"akay71" wrote:

> Thanks, Is there a way to just show text like "Click Here" for the link.
>
> "Joel" wrote:
>
> >
> > Website = "http://example.microsoft.com"
> > Subdir = "/help"
> >
> > set newbk = workbooks.open(filename:="c:\temp\abc.xls)
> >
> > With newbk.Worksheets("Sheet1)
> > .Hyperlinks.Add .Range("E5"), Website & Subdir
> > End With
> >
> > "akay71" wrote:
> >
> > > Hello All,
> > > I am trying to create a hyperlink using concatenate after I get the
> > > hyperlink created I need to copy the hyperlink to a different workbook. Is
> > > this possible? Thanks.
> > >

 
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
Is there any way to create a folder structure for tabs in a workbo Curious Microsoft Excel Misc 3 10th Sep 2008 09:15 PM
HELP!! Creating a hyperlink to a specific sheet in an excel workbo janabanana Microsoft Access 1 16th Jul 2008 08:03 PM
Copy worksheet to 2nd workbook but have no reference to 1st workbo i4004 Microsoft Excel Misc 8 24th Jun 2008 02:04 AM
How do I create a dropdown list using data from a different workbo =?Utf-8?B?VkZQZ3VydUV4Y2VsTm92aWNl?= Microsoft Excel Worksheet Functions 4 6th Mar 2006 07:50 PM
Re: copy/pasting into create hyperlink address bar Tom Pepper Willett Microsoft Frontpage 0 14th Sep 2004 07:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:23 PM.