Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default is it possible to jump to the souce of link in sheet with mosue click??

Is it possible to jumpt to the source of a linked cell
with a mouse click or in some simple way?

Suppose cell E2 in Sheet1 has this link in it:

='Sheet2!G6

I would like to click on cell E2 and be taken to cell G6
in a flash.

Thanks.

John Wirt
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 24
Default is it possible to jump to the souce of link in sheet with mosue click??

John

I have some code you can use below (I assume you are familiar with Visual Basic). It uses the "Precedent" property of cells, which returns the range of all the precedent cells. The unfortunate part of what I wrote is that it uses the "SheetSelectionChange" event, so it will always select the cell's precedents when you click on any cell (ie you can't actually get into the cell any more). I think you would want to come up with something more sophisticated - maybe make a button like the "Paste Format" button that lets you select it, and then the code is activated for the next cell you select. Also, it only works with cells in the active sheet. To get to other sheets or workbooks, you'd have to fiddle with it to get that information out of the precedent range. I hope this helps you along though!

Eri

Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range

On Error Resume Next ' so that nothing happens if there are no precedent

ActiveCell.DirectPrecedents.Selec

End Su


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default is it possible to jump to the souce of link in sheet with mosue click??

John,

In Excel 2002, this can be done by simply double-clicking
on the cell.

Regards,
Ryan

-----Original Message-----
Is it possible to jumpt to the source of a linked cell
with a mouse click or in some simple way?

Suppose cell E2 in Sheet1 has this link in it:

='Sheet2!G6

I would like to click on cell E2 and be taken to cell G6
in a flash.

Thanks.

John Wirt
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default is it possible to jump to the souce of link in sheet with mosue click??

Searching Google Newsgroups, I have found that this can be done in Excel
2000 also by going to

Tools|Options|Edit and unchecking "Edit directly in cell"

Also selecting the cell with Ctrl / [ works.

John Wirt


"Ryan Poth" wrote in message
...
John,

In Excel 2002, this can be done by simply double-clicking
on the cell.

Regards,
Ryan

-----Original Message-----
Is it possible to jumpt to the source of a linked cell
with a mouse click or in some simple way?

Suppose cell E2 in Sheet1 has this link in it:

='Sheet2!G6

I would like to click on cell E2 and be taken to cell G6
in a flash.

Thanks.

John Wirt
.



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
double click on cell that have link, Excel will jump to the refere RW Excel Worksheet Functions 1 June 8th 08 07:19 PM
list of items click on it and have excel jump there Headacheaday Excel Worksheet Functions 2 February 7th 08 05:57 PM
Jump to link worksheet Dinesh Excel Worksheet Functions 2 November 15th 06 10:12 PM
Double Clicking on link w/i workbook does't bring me to souce. tfranc Excel Worksheet Functions 2 July 19th 06 01:16 PM
How do I create a command button to jump from sheet to sheet in a. Darlenew Excel Worksheet Functions 3 March 22nd 05 10:36 PM


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