LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

How many of those IDs do you have?

If there's not too many, maybe you could use a hyperlink that points at that
other location.
(Insert|Hyperlink)

If I had lots of IDs, I'd put a button from the forms toolbar in Row 1 (and
freeze row 1 so that it's always visible when I scroll up/down the worksheet).

Then I'd assign a macro to that button that worked off the location of the
active cell.

Option Explicit
Sub testme()

Dim myRng As Range
Dim myCell As Range
Dim myCol As Long
Dim myDepCol As Long
Dim DepWks As Worksheet
Dim res As Variant

'Change these
Set DepWks = Worksheets("dependent") 'what's the name
myCol = 1 'column A
myDepCol = 2 'Column B

Set myCell = ActiveSheet.Cells(ActiveCell.Row, myCol)

res = Application.Match(myCell.Value, DepWks.Columns(myDepCol), 0)

If IsError(res) Then
MsgBox ActiveCell.Value & " wasn't found on " & DepWks.Name
Else
Application.Goto DepWks.Cells(res, myDepCol), scroll:=True
End If

End Sub

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

Gina O'Brien wrote:

Can it be done?!

I have a master spreadsheet which has a column called 'Corp Risk ID' which
consists of numbers 1,2,3 etc - I then have a dependant spreadsheet which
has a corresponding column called 'Corp Risk ID' so that I can compare how
that 'Corp Risk ID' is used in both spreadsheets (run reports, see patterns
of themes etc).

For ease when I'm presenting this dependent spreadsheet, I would love
to be able to click on a cell in the 'Corp Risk ID' column of the dependent
spreadsheet and for it to take me to its corresponding cell in the
'Corp Risk ID' column of the master spreadsheet - has anybody else
attempted this?!

Gina.


--

Dave Peterson
 
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
How do I link cells, sheet to sheet, to recognize row deletions? LeeC Excel Discussion (Misc queries) 30 November 6th 09 10:26 PM
How to link website data to Excel cells Tony Excel Discussion (Misc queries) 4 September 28th 05 04:16 PM
Can you Link 3 cells into 1 in Excel 2003 lin Excel Worksheet Functions 2 June 8th 05 09:38 AM
Formulas link cells Mike Excel Worksheet Functions 0 March 3rd 05 08:11 PM
How do I link two cells as to allow me to change the value in eit. jpvlvt Excel Discussion (Misc queries) 3 January 26th 05 01:28 AM


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