PC Review


Reply
Thread Tools Rate Thread

Create Hyperlink in Current Cell

 
 
AGMNS
Guest
Posts: n/a
 
      22nd Jul 2008
I have a list of thousands of web addresses in a column. Far to many to "add
hyperlink" to each manually.

I would like to step through these automatically and used the current value
of the cell as the Hyperlink address and Text to Display.

Any suggestions would be appreciated.

Thanks

--
Andrew Mitchell
 
Reply With Quote
 
 
 
 
Wigi
Guest
Posts: n/a
 
      22nd Jul 2008
Why don't you use the HYPERLINK function in Excel?


--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"AGMNS" wrote:

> I have a list of thousands of web addresses in a column. Far to many to "add
> hyperlink" to each manually.
>
> I would like to step through these automatically and used the current value
> of the cell as the Hyperlink address and Text to Display.
>
> Any suggestions would be appreciated.
>
> Thanks
>
> --
> Andrew Mitchell

 
Reply With Quote
 
AGMNS
Guest
Posts: n/a
 
      23rd Jul 2008
It's been a long, long time since I've used a VB module / macro script and
I'm no longer sure of the proper referencing for the cells etc.


--
Andrew Mitchell


"Wigi" wrote:

> Why don't you use the HYPERLINK function in Excel?
>
>
> --
> Wigi
> http://www.wimgielis.be = Excel/VBA, soccer and music
>
>
> "AGMNS" wrote:
>
> > I have a list of thousands of web addresses in a column. Far to many to "add
> > hyperlink" to each manually.
> >
> > I would like to step through these automatically and used the current value
> > of the cell as the Hyperlink address and Text to Display.
> >
> > Any suggestions would be appreciated.
> >
> > Thanks
> >
> > --
> > Andrew Mitchell

 
Reply With Quote
 
AGMNS
Guest
Posts: n/a
 
      23rd Jul 2008
UPDATE:

Wigi, I've tried the Hyperlink Function in Excel. When the original cell
contains www.xyz.com and you use the hyperlink function in say an adjacent
cell it creates the hyperlink, however the hyperlink does not contain http://
at the beginning and always says "Cannot open File" when clicked. I can add
http:// to the beginning of each web address and then use the Hyperlink
function; however I only want to show www.xyz.com in the cell.

What I was really looking for was VB to take the value of the cell and
assign that value as the hyperlink Address and Text. From what I've seen in
some of the posts I should be able to use cell.value as the Address and Text;
however I get an error each time. So if you could help me with vb to assign
the current cell value to the hyperlink address and text I can do the rest.

Thanks,
Andrew
--
Andrew Mitchell

--
Andrew Mitchell


"AGMNS" wrote:

> It's been a long, long time since I've used a VB module / macro script and
> I'm no longer sure of the proper referencing for the cells etc.
>
>
> --
> Andrew Mitchell
>
>
> "Wigi" wrote:
>
> > Why don't you use the HYPERLINK function in Excel?
> >
> >
> > --
> > Wigi
> > http://www.wimgielis.be = Excel/VBA, soccer and music
> >
> >
> > "AGMNS" wrote:
> >
> > > I have a list of thousands of web addresses in a column. Far to many to "add
> > > hyperlink" to each manually.
> > >
> > > I would like to step through these automatically and used the current value
> > > of the cell as the Hyperlink address and Text to Display.
> > >
> > > Any suggestions would be appreciated.
> > >
> > > Thanks
> > >
> > > --
> > > Andrew Mitchell

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      23rd Jul 2008
If A1 contains www.xyz.com, try:

=hyperlink("http://"&a1,a1)



AGMNS wrote:
>
> UPDATE:
>
> Wigi, I've tried the Hyperlink Function in Excel. When the original cell
> contains www.xyz.com and you use the hyperlink function in say an adjacent
> cell it creates the hyperlink, however the hyperlink does not contain http://
> at the beginning and always says "Cannot open File" when clicked. I can add
> http:// to the beginning of each web address and then use the Hyperlink
> function; however I only want to show www.xyz.com in the cell.
>
> What I was really looking for was VB to take the value of the cell and
> assign that value as the hyperlink Address and Text. From what I've seen in
> some of the posts I should be able to use cell.value as the Address and Text;
> however I get an error each time. So if you could help me with vb to assign
> the current cell value to the hyperlink address and text I can do the rest.
>
> Thanks,
> Andrew
> --
> Andrew Mitchell
>
> --
> Andrew Mitchell
>
> "AGMNS" wrote:
>
> > It's been a long, long time since I've used a VB module / macro script and
> > I'm no longer sure of the proper referencing for the cells etc.
> >
> >
> > --
> > Andrew Mitchell
> >
> >
> > "Wigi" wrote:
> >
> > > Why don't you use the HYPERLINK function in Excel?
> > >
> > >
> > > --
> > > Wigi
> > > http://www.wimgielis.be = Excel/VBA, soccer and music
> > >
> > >
> > > "AGMNS" wrote:
> > >
> > > > I have a list of thousands of web addresses in a column. Far to many to "add
> > > > hyperlink" to each manually.
> > > >
> > > > I would like to step through these automatically and used the current value
> > > > of the cell as the Hyperlink address and Text to Display.
> > > >
> > > > Any suggestions would be appreciated.
> > > >
> > > > Thanks
> > > >
> > > > --
> > > > Andrew Mitchell


--

Dave Peterson
 
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
Create a hyperlink that emails the current worksheet T Standish Microsoft Excel Programming 1 5th Jun 2008 07:40 PM
Use Contents of a Cell to Create a Hyperlink TKS_Mark Microsoft Excel Programming 1 8th Jan 2008 10:22 PM
How to create a hyperlink on a table cell ? fiefie.niles@gmail.com Microsoft ASP .NET 1 9th Sep 2006 11:28 PM
How do I create a hyperlink to a cell with the hyperlink function =?Utf-8?B?Uy4gQmV2aW5z?= Microsoft Excel Worksheet Functions 2 20th Jul 2006 08:06 PM
Create a hyperlink with querystring from cell Marc Miller Microsoft Excel Programming 2 28th Apr 2005 08:58 PM


Features
 

Advertising
 

Newsgroups
 


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