Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Boysie
 
Posts: n/a
Default How can I edit a hyperlink in more than one cell at once

I have a workbook with appoximately 130 worksheets in it. On each sheet one
cell is linked to the "master" sheet which lists all of the others. This
sheet is named "Words". I now need another sheet named "Words" and the
"Words" sheet changed to "Main". Easy at first but all the other sheets are
linked to the "Words" sheet.

Is it possible to edit the same cell in all of the worksheets at the same?

Thanks for any help
  #2   Report Post  
Posted to microsoft.public.excel.misc
paul
 
Posts: n/a
Default How can I edit a hyperlink in more than one cell at once

i dont know about 130 sheets but if you hold down ctrl while clicking sheet
tbs you select ALL those sheets and when you edit a particular cell the same
cell on each sheet is changed
--
paul
remove nospam for email addy!



"Boysie" wrote:

I have a workbook with appoximately 130 worksheets in it. On each sheet one
cell is linked to the "master" sheet which lists all of the others. This
sheet is named "Words". I now need another sheet named "Words" and the
"Words" sheet changed to "Main". Easy at first but all the other sheets are
linked to the "Words" sheet.

Is it possible to edit the same cell in all of the worksheets at the same?

Thanks for any help

  #3   Report Post  
Posted to microsoft.public.excel.misc
Boysie
 
Posts: n/a
Default How can I edit a hyperlink in more than one cell at once

Paul

Thanks for the info but when I tried it the "Edit Hyperlink" option is
greyed out.

It may help if I add it is the same cell on each of the worksheets.

Boysie

"paul" wrote:

i dont know about 130 sheets but if you hold down ctrl while clicking sheet
tbs you select ALL those sheets and when you edit a particular cell the same
cell on each sheet is changed
--
paul
remove nospam for email addy!



"Boysie" wrote:

I have a workbook with appoximately 130 worksheets in it. On each sheet one
cell is linked to the "master" sheet which lists all of the others. This
sheet is named "Words". I now need another sheet named "Words" and the
"Words" sheet changed to "Main". Easy at first but all the other sheets are
linked to the "Words" sheet.

Is it possible to edit the same cell in all of the worksheets at the same?

Thanks for any help

  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default How can I edit a hyperlink in more than one cell at once

You could use something like this to remove the hyperlinks:

Option Explicit
Sub testme()
Dim wks As Worksheet
For Each wks In ActiveWorkbook.Worksheets
With wks.Range("a1")
If .Hyperlinks.Count 0 Then
.Hyperlinks(1).Delete
End If
End With
Next wks
End Sub

Then instead of using insert|hyperlink to create the hyperlink, you could use
the =hyperlink() worksheet formula:

Group all your sheets that get the hyperlink. (Select the first, and
ctrl-click, or shift-ctrl-click to extend the selection.)

Then select the cell that gets the hyperlink and type this:
=HYPERLINK("#"&CELL("address",'Words'!A1),"click me")

Then rightclick on any of the grouped worksheet tabs and select ungroup sheets.

If you change the name of Words, this =hyperlink() worksheet function will
adjust -- just like any other formula.


If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm


Boysie wrote:

I have a workbook with appoximately 130 worksheets in it. On each sheet one
cell is linked to the "master" sheet which lists all of the others. This
sheet is named "Words". I now need another sheet named "Words" and the
"Words" sheet changed to "Main". Easy at first but all the other sheets are
linked to the "Words" sheet.

Is it possible to edit the same cell in all of the worksheets at the same?

Thanks for any help


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
Boysie
 
Posts: n/a
Default How can I edit a hyperlink in more than one cell at once

Thanks Dave. Much appreciated. I'll have to digest this and work on it.

Regards

Boysie

"Dave Peterson" wrote:

You could use something like this to remove the hyperlinks:

Option Explicit
Sub testme()
Dim wks As Worksheet
For Each wks In ActiveWorkbook.Worksheets
With wks.Range("a1")
If .Hyperlinks.Count 0 Then
.Hyperlinks(1).Delete
End If
End With
Next wks
End Sub

Then instead of using insert|hyperlink to create the hyperlink, you could use
the =hyperlink() worksheet formula:

Group all your sheets that get the hyperlink. (Select the first, and
ctrl-click, or shift-ctrl-click to extend the selection.)

Then select the cell that gets the hyperlink and type this:
=HYPERLINK("#"&CELL("address",'Words'!A1),"click me")

Then rightclick on any of the grouped worksheet tabs and select ungroup sheets.

If you change the name of Words, this =hyperlink() worksheet function will
adjust -- just like any other formula.


If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm


Boysie wrote:

I have a workbook with appoximately 130 worksheets in it. On each sheet one
cell is linked to the "master" sheet which lists all of the others. This
sheet is named "Words". I now need another sheet named "Words" and the
"Words" sheet changed to "Main". Easy at first but all the other sheets are
linked to the "Words" sheet.

Is it possible to edit the same cell in all of the worksheets at the same?

Thanks for any help


--

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
copying a cell that has a hyperlink Thomson health care Excel Discussion (Misc queries) 3 September 29th 05 08:10 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Can you make a cell with a diagonal, so that you can edit the upper and lower part of the cell? g wills New Users to Excel 3 February 17th 05 10:23 PM
Hyperlink within cell Mike D. Excel Discussion (Misc queries) 2 January 14th 05 12:57 AM
Using a formula in a Hyperlink Cell reference sslabbe Excel Discussion (Misc queries) 4 December 10th 04 12:30 AM


All times are GMT +1. The time now is 11:19 PM.

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"