Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Create Hyperlink in Current Cell

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Create Hyperlink in Current Cell

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Create Hyperlink in Current Cell

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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Create Hyperlink in Current Cell

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
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
Create an hyperlink automatically in a cell João Carlos Excel Discussion (Misc queries) 2 August 1st 09 10:14 AM
Create a hyperlink that emails the current worksheet T Standish[_2_] Excel Programming 1 June 5th 08 07:40 PM
How to create a function that fills the current date in an adjoining cell Dave K Excel Programming 4 June 27th 07 01:13 PM
create hyperlink cell in excel using VB Haldane Excel Programming 3 October 5th 06 09:12 AM
How do I create a hyperlink to a cell with the hyperlink function S. Bevins Excel Worksheet Functions 2 July 20th 06 08:06 PM


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

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"