Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jax Jax is offline
external usenet poster
 
Posts: 8
Default look for sheet name in list and creat hyperlink to cell

I have a large Workbook with a hyperlink to a spreadsheet (same workbook)
with history on it. When you click the hyperlink it takes you to that sheet
R1,C1. In that sheet R1,C1 I would like to return to the cell from the
previous link. example I click on R55,C1 on the master sheet and it takes me
to sheet 71 R1,C1. I would like to click on this cell and return to the
master sheet R55,C1. This work book has 240 Link/sheets. Do I use a look up
for this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default look for sheet name in list and creat hyperlink to cell

In each sheet, create a hyperlink in A1 that points to anything, it doesn't
matter. Then in each sheet's FollowHyperlink event, put:
Worksheets("MasterSheetName").Activate

It will ignore the hyperlink and take you back to the first sheet. By
default, it will select the previously selected cell on that sheet.

HTH,
Barry

"Jax" wrote:

I have a large Workbook with a hyperlink to a spreadsheet (same workbook)
with history on it. When you click the hyperlink it takes you to that sheet
R1,C1. In that sheet R1,C1 I would like to return to the cell from the
previous link. example I click on R55,C1 on the master sheet and it takes me
to sheet 71 R1,C1. I would like to click on this cell and return to the
master sheet R55,C1. This work book has 240 Link/sheets. Do I use a look up
for this?

  #3   Report Post  
Posted to microsoft.public.excel.programming
Jax Jax is offline
external usenet poster
 
Posts: 8
Default look for sheet name in list and creat hyperlink to cell

Barry,

I am a low level user but what the boss wants the boss gets! I have been
reading about followhyperlink event but I do not understand how to use this.

"Barry Gilbert" wrote:

In each sheet, create a hyperlink in A1 that points to anything, it doesn't
matter. Then in each sheet's FollowHyperlink event, put:
Worksheets("MasterSheetName").Activate

It will ignore the hyperlink and take you back to the first sheet. By
default, it will select the previously selected cell on that sheet.

HTH,
Barry

"Jax" wrote:

I have a large Workbook with a hyperlink to a spreadsheet (same workbook)
with history on it. When you click the hyperlink it takes you to that sheet
R1,C1. In that sheet R1,C1 I would like to return to the cell from the
previous link. example I click on R55,C1 on the master sheet and it takes me
to sheet 71 R1,C1. I would like to click on this cell and return to the
master sheet R55,C1. This work book has 240 Link/sheets. Do I use a look up
for this?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default look for sheet name in list and creat hyperlink to cell

Open the VBA editor (Alt-F11). In the Project Explorer (F4 if you don't
already see it on the left), you'll see references to each worksheet.
Double-click one of these (for one of your sub-sheets). In the dropdown on
the top-left (above where it says "Option Explicit"), select Worksheet. In
the dropdown to the right, select "FollowHyperlink". This is the event where
you'll put your code:

Worksheets("MasterSheetName").Activate

I hope I'm not being too elementary or not clear enough.

Barry

"Jax" wrote:

Barry,

I am a low level user but what the boss wants the boss gets! I have been
reading about followhyperlink event but I do not understand how to use this.

"Barry Gilbert" wrote:

In each sheet, create a hyperlink in A1 that points to anything, it doesn't
matter. Then in each sheet's FollowHyperlink event, put:
Worksheets("MasterSheetName").Activate

It will ignore the hyperlink and take you back to the first sheet. By
default, it will select the previously selected cell on that sheet.

HTH,
Barry

"Jax" wrote:

I have a large Workbook with a hyperlink to a spreadsheet (same workbook)
with history on it. When you click the hyperlink it takes you to that sheet
R1,C1. In that sheet R1,C1 I would like to return to the cell from the
previous link. example I click on R55,C1 on the master sheet and it takes me
to sheet 71 R1,C1. I would like to click on this cell and return to the
master sheet R55,C1. This work book has 240 Link/sheets. Do I use a look up
for this?

  #5   Report Post  
Posted to microsoft.public.excel.programming
Jax Jax is offline
external usenet poster
 
Posts: 8
Default look for sheet name in list and creat hyperlink to cell

Barry,

elementary is my middle name. It work great and thank you for your help.
When I entered the hyper link in the other sheet I set it to "master list
R2,C1". When I changed the hyperlink to somewhere on the same sheet it worked
great! thank you again.

Jack (I learn slow but well)
"Barry Gilbert" wrote:

Open the VBA editor (Alt-F11). In the Project Explorer (F4 if you don't
already see it on the left), you'll see references to each worksheet.
Double-click one of these (for one of your sub-sheets). In the dropdown on
the top-left (above where it says "Option Explicit"), select Worksheet. In
the dropdown to the right, select "FollowHyperlink". This is the event where
you'll put your code:

Worksheets("MasterSheetName").Activate

I hope I'm not being too elementary or not clear enough.

Barry

"Jax" wrote:

Barry,

I am a low level user but what the boss wants the boss gets! I have been
reading about followhyperlink event but I do not understand how to use this.

"Barry Gilbert" wrote:

In each sheet, create a hyperlink in A1 that points to anything, it doesn't
matter. Then in each sheet's FollowHyperlink event, put:
Worksheets("MasterSheetName").Activate

It will ignore the hyperlink and take you back to the first sheet. By
default, it will select the previously selected cell on that sheet.

HTH,
Barry

"Jax" wrote:

I have a large Workbook with a hyperlink to a spreadsheet (same workbook)
with history on it. When you click the hyperlink it takes you to that sheet
R1,C1. In that sheet R1,C1 I would like to return to the cell from the
previous link. example I click on R55,C1 on the master sheet and it takes me
to sheet 71 R1,C1. I would like to click on this cell and return to the
master sheet R55,C1. This work book has 240 Link/sheets. Do I use a look up
for this?



  #6   Report Post  
Posted to microsoft.public.excel.programming
Jax Jax is offline
external usenet poster
 
Posts: 8
Default look for sheet name in list and creat hyperlink to cell

Barry,

Is there a way to automate this across multi-sheets (the count is 22
workbooks with 240 sheets each). Thank you for your time.

"Jax" wrote:

Barry,

elementary is my middle name. It work great and thank you for your help.
When I entered the hyper link in the other sheet I set it to "master list
R2,C1". When I changed the hyperlink to somewhere on the same sheet it worked
great! thank you again.

Jack (I learn slow but well)
"Barry Gilbert" wrote:

Open the VBA editor (Alt-F11). In the Project Explorer (F4 if you don't
already see it on the left), you'll see references to each worksheet.
Double-click one of these (for one of your sub-sheets). In the dropdown on
the top-left (above where it says "Option Explicit"), select Worksheet. In
the dropdown to the right, select "FollowHyperlink". This is the event where
you'll put your code:

Worksheets("MasterSheetName").Activate

I hope I'm not being too elementary or not clear enough.

Barry

"Jax" wrote:

Barry,

I am a low level user but what the boss wants the boss gets! I have been
reading about followhyperlink event but I do not understand how to use this.

"Barry Gilbert" wrote:

In each sheet, create a hyperlink in A1 that points to anything, it doesn't
matter. Then in each sheet's FollowHyperlink event, put:
Worksheets("MasterSheetName").Activate

It will ignore the hyperlink and take you back to the first sheet. By
default, it will select the previously selected cell on that sheet.

HTH,
Barry

"Jax" wrote:

I have a large Workbook with a hyperlink to a spreadsheet (same workbook)
with history on it. When you click the hyperlink it takes you to that sheet
R1,C1. In that sheet R1,C1 I would like to return to the cell from the
previous link. example I click on R55,C1 on the master sheet and it takes me
to sheet 71 R1,C1. I would like to click on this cell and return to the
master sheet R55,C1. This work book has 240 Link/sheets. Do I use a look up
for this?

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
List Sheet & Hyperlink Dolphinv4 Excel Discussion (Misc queries) 1 January 3rd 08 10:37 AM
How to creat new list by subtraction Maggie[_3_] New Users to Excel 3 September 1st 07 02:20 AM
Creat Filter List Nasir Naqvi New Users to Excel 3 December 28th 06 10:14 AM
look for sheet name in list and creat hyperlink to cell Jax Excel Programming 0 May 17th 06 06:40 PM
creat a drop/down sub list helmekki[_3_] Excel Programming 3 May 24th 04 09:54 AM


All times are GMT +1. The time now is 12:20 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"