Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default I need to use fill-handle with hyperlinks

I would like to use something like the fill handle in Excel to help
fill in a spreadsheet with hyperlinks. I want to link:

Sheet1 A1 to Sheet2 A1
Sheet1 A2 to Sheet2 A2
Sheet1 A3 to Sheet2 A3

....and so on. So far I have not had much luck. I can get it done one
cell at a time, but I would like to do about 1000 of them and there is
no way I am going to spend that much time on this. Does anyone know of
a way to do this automatically? Thanks in advance!

-Kevin

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default I need to use fill-handle with hyperlinks

Kevin,

If you use the Hyperlink function, you can then use the fill handle. In
Sheet1A1 put this formula:

=HYPERLINK(Sheet2!A1)

and then copy down. Using this function is said to be more robust than
regular hyperlinks anyways.

hth,

Doug

"Kevin McCann" wrote in message
oups.com...
I would like to use something like the fill handle in Excel to help
fill in a spreadsheet with hyperlinks. I want to link:

Sheet1 A1 to Sheet2 A1
Sheet1 A2 to Sheet2 A2
Sheet1 A3 to Sheet2 A3

...and so on. So far I have not had much luck. I can get it done one
cell at a time, but I would like to do about 1000 of them and there is
no way I am going to spend that much time on this. Does anyone know of
a way to do this automatically? Thanks in advance!

-Kevin


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default I need to use fill-handle with hyperlinks

Kevin,

Well, my first reply was useless I think. Perhaps a macro like this?:

Sub AddHyperlinks()
Dim i As Long

For i = 1 To 1000
Worksheets("Sheet1").Hyperlinks.Add _
Anchor:=Worksheets("Sheet1").Range("A" & i), _
Address:="", _
SubAddress:="Sheet2!A" & i, _
TextToDisplay:="Sheet2!A" & i
Next i
End Sub

hth,

Doug

"Doug Glancy" wrote in message
...
Kevin,

If you use the Hyperlink function, you can then use the fill handle. In
Sheet1A1 put this formula:

=HYPERLINK(Sheet2!A1)

and then copy down. Using this function is said to be more robust than
regular hyperlinks anyways.

hth,

Doug

"Kevin McCann" wrote in message
oups.com...
I would like to use something like the fill handle in Excel to help
fill in a spreadsheet with hyperlinks. I want to link:

Sheet1 A1 to Sheet2 A1
Sheet1 A2 to Sheet2 A2
Sheet1 A3 to Sheet2 A3

...and so on. So far I have not had much luck. I can get it done one
cell at a time, but I would like to do about 1000 of them and there is
no way I am going to spend that much time on this. Does anyone know of
a way to do this automatically? Thanks in advance!

-Kevin



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default I need to use fill-handle with hyperlinks

On Oct 17, 12:40 am, "Doug Glancy"
wrote:
Kevin,

Well, my first reply was useless I think. Perhaps a macro like this?:

Sub AddHyperlinks()
Dim i As Long

For i = 1 To 1000
Worksheets("Sheet1").Hyperlinks.Add _
Anchor:=Worksheets("Sheet1").Range("A" & i), _
Address:="", _
SubAddress:="Sheet2!A" & i, _
TextToDisplay:="Sheet2!A" & i
Next i
End Sub

hth,

Doug

"Doug Glancy" wrote in message

...

Kevin,


If you use the Hyperlink function, you can then use the fill handle. In
Sheet1A1 put this formula:


=HYPERLINK(Sheet2!A1)


and then copy down. Using this function is said to be more robust than
regular hyperlinks anyways.


hth,


Doug


"Kevin McCann" wrote in message
roups.com...
I would like to use something like the fill handle in Excel to help
fill in a spreadsheet with hyperlinks. I want to link:


Sheet1 A1 to Sheet2 A1
Sheet1 A2 to Sheet2 A2
Sheet1 A3 to Sheet2 A3


...and so on. So far I have not had much luck. I can get it done one
cell at a time, but I would like to do about 1000 of them and there is
no way I am going to spend that much time on this. Does anyone know of
a way to do this automatically? Thanks in advance!


-Kevin


Haha. You beat me to a reply. I will give it a try. Thanks!

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default I need to use fill-handle with hyperlinks

That worked perfectly! Thank you very much for the help!

On Oct 17, 12:40 am, "Doug Glancy"
wrote:
Kevin,

Well, my first reply was useless I think. Perhaps a macro like this?:

Sub AddHyperlinks()
Dim i As Long

For i = 1 To 1000
Worksheets("Sheet1").Hyperlinks.Add _
Anchor:=Worksheets("Sheet1").Range("A" & i), _
Address:="", _
SubAddress:="Sheet2!A" & i, _
TextToDisplay:="Sheet2!A" & i
Next i
End Sub

hth,

Doug

"Doug Glancy" wrote in message

...

Kevin,


If you use the Hyperlink function, you can then use the fill handle. In
Sheet1A1 put this formula:


=HYPERLINK(Sheet2!A1)


and then copy down. Using this function is said to be more robust than
regular hyperlinks anyways.


hth,


Doug


"Kevin McCann" wrote in message
roups.com...
I would like to use something like the fill handle in Excel to help
fill in a spreadsheet with hyperlinks. I want to link:


Sheet1 A1 to Sheet2 A1
Sheet1 A2 to Sheet2 A2
Sheet1 A3 to Sheet2 A3


...and so on. So far I have not had much luck. I can get it done one
cell at a time, but I would like to do about 1000 of them and there is
no way I am going to spend that much time on this. Does anyone know of
a way to do this automatically? Thanks in advance!


-Kevin





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 63
Default I need to use fill-handle with hyperlinks

Kevin,

Second time's the charm :). Glad I could help.

Doug

"Kevin McCann" wrote in message
oups.com...
That worked perfectly! Thank you very much for the help!

On Oct 17, 12:40 am, "Doug Glancy"
wrote:
Kevin,

Well, my first reply was useless I think. Perhaps a macro like this?:

Sub AddHyperlinks()
Dim i As Long

For i = 1 To 1000
Worksheets("Sheet1").Hyperlinks.Add _
Anchor:=Worksheets("Sheet1").Range("A" & i), _
Address:="", _
SubAddress:="Sheet2!A" & i, _
TextToDisplay:="Sheet2!A" & i
Next i
End Sub

hth,

Doug

"Doug Glancy" wrote in message

...

Kevin,


If you use the Hyperlink function, you can then use the fill handle.
In
Sheet1A1 put this formula:


=HYPERLINK(Sheet2!A1)


and then copy down. Using this function is said to be more robust than
regular hyperlinks anyways.


hth,


Doug


"Kevin McCann" wrote in message
roups.com...
I would like to use something like the fill handle in Excel to help
fill in a spreadsheet with hyperlinks. I want to link:


Sheet1 A1 to Sheet2 A1
Sheet1 A2 to Sheet2 A2
Sheet1 A3 to Sheet2 A3


...and so on. So far I have not had much luck. I can get it done one
cell at a time, but I would like to do about 1000 of them and there is
no way I am going to spend that much time on this. Does anyone know of
a way to do this automatically? Thanks in advance!


-Kevin




  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default I need to use fill-handle with hyperlinks

On Oct 17, 12:15 am, "Doug Glancy"
wrote:
Kevin,

If you use the Hyperlink function, you can then use the fill handle. In
Sheet1A1 put this formula:

=HYPERLINK(Sheet2!A1)

and then copy down. Using this function is said to be more robust than
regular hyperlinks anyways.

hth,

Doug

"Kevin McCann" wrote in message

oups.com...

I would like to use something like the fill handle in Excel to help
fill in a spreadsheet with hyperlinks. I want to link:


Sheet1 A1 to Sheet2 A1
Sheet1 A2 to Sheet2 A2
Sheet1 A3 to Sheet2 A3


...and so on. So far I have not had much luck. I can get it done one
cell at a time, but I would like to do about 1000 of them and there is
no way I am going to spend that much time on this. Does anyone know of
a way to do this automatically? Thanks in advance!


-Kevin


Hey Doug

Thanks for the response. I don't think I was clear enough with what I
am trying to do though. When I click the hyperlink in Sheet1 A1, I
want to be taken to Sheet2 A1. When I do what you suggested, the
hyperlink shows the text that is in Sheet2 A1 and when I click it, I
get an error that says "Cannot open the specified file." Any other
suggestions? Thanks!

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
FILL HANDLE FLKULCHAR Excel Discussion (Misc queries) 2 February 26th 10 01:23 PM
Fill handle fill down alternative methods question Rufio Excel Discussion (Misc queries) 1 May 18th 09 04:28 PM
what is "fill handle". i don't see any fill handle in my excel Neelakanta New Users to Excel 32 June 18th 08 12:48 PM
Fill handle turned into a move handle Northwoods Excel Discussion (Misc queries) 1 March 2nd 07 03:40 PM
How handle Hyperlinks Sylvester[_2_] Excel Programming 5 May 27th 04 04:37 PM


All times are GMT +1. The time now is 11:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"