Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
trav
 
Posts: n/a
Default hyperlink to specific cell/row


I have several reports that are generated and spit into excel after a
quick macro they wind up in the same workgroup on three spreadsheets.
basically one spreadsheet has the main list with short info, and the
other two sheets have the detailed info. I will probably end up
combining the info of the two sheets into one, they are both exactly
the same but for different customers.

basically i was wondering if there is a way that i can create a
hyperlink that when the user clicks on the order number in the short
info page it takes him to that order number on the detail info page.

i know you can create hyperlinks to certain worksheets but is there a
way to take a user to a specific cell or row.


i hope that isn't too confusing


--
trav
------------------------------------------------------------------------
trav's Profile: http://www.excelforum.com/member.php...o&userid=31420
View this thread: http://www.excelforum.com/showthread...hreadid=520341

  #2   Report Post  
Posted to microsoft.public.excel.misc
davesexcel
 
Posts: n/a
Default hyperlink to specific cell/row


=HYPERLINK("#Sheet3!D1",Sheet3!D1)
this will take you to sheet3 D1 and will also carry the value of the
same Cell


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=520341

  #3   Report Post  
Posted to microsoft.public.excel.misc
trav
 
Posts: n/a
Default hyperlink to specific cell/row


is there a way to combine a look up function so that they hyperlink is
dynamic

sheet 1
ORD095786
ORD095872
ORD095968
ORD096312

sheet 2
ORD095786
ORD095796
ORD095852
ORD095872
ORD095899
ORD095968
ORD096312

so if those are column A for both sheets, is there a formula that i can
insert that will check the Sheet one order number to see its place on
sheet 2 and then create a hyperlink to that cell, or row


--
trav
------------------------------------------------------------------------
trav's Profile: http://www.excelforum.com/member.php...o&userid=31420
View this thread: http://www.excelforum.com/showthread...hreadid=520341

  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default hyperlink to specific cell/row

How about an alternative?

Use a macro that searches sheet2 column A and if it finds a match, it goes
there.

I'd drop a button from the forms toolbar in Row 1 of sheet1--and make row 1
always visible (window|freeze panes)

Then assign this macro to that button. (The code depends on where the
activecell is.)

Option Explicit
Sub testme01()
Dim myRng As Range
Dim myCell As Range
Dim res As Variant

With Worksheets("sheet2")
Set myRng = .Range("a:a")
End With

Set myCell = ActiveCell.EntireRow.Cells(1)

res = Application.Match(myCell.Value, myRng, 0)

If IsError(res) Then
Beep
Else
Application.Goto myRng(res), scroll:=True
End If

End Sub


trav wrote:

is there a way to combine a look up function so that they hyperlink is
dynamic

sheet 1
ORD095786
ORD095872
ORD095968
ORD096312

sheet 2
ORD095786
ORD095796
ORD095852
ORD095872
ORD095899
ORD095968
ORD096312

so if those are column A for both sheets, is there a formula that i can
insert that will check the Sheet one order number to see its place on
sheet 2 and then create a hyperlink to that cell, or row

--
trav
------------------------------------------------------------------------
trav's Profile: http://www.excelforum.com/member.php...o&userid=31420
View this thread: http://www.excelforum.com/showthread...hreadid=520341


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
trav
 
Posts: n/a
Default hyperlink to specific cell/row


I can't get it to work, it is exactly what i want to do though, so thank
you, but for some reason i can't get it to work.

I first put it into my personal macro workbook, then tried in the sheet
code.

either way i can't get it to work

i get an error 2042
for this line
res = Application.Match(myCell.Value, myRng, 0)

res = error 2042

any suggestions,
i have tried renaming the sheets, no luck

i am kinda baffled.


--
trav
------------------------------------------------------------------------
trav's Profile: http://www.excelforum.com/member.php...o&userid=31420
View this thread: http://www.excelforum.com/showthread...hreadid=520341



  #6   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default hyperlink to specific cell/row

That means that there wasn't a match.

The error checking lines should have given you a beep.



trav wrote:

I can't get it to work, it is exactly what i want to do though, so thank
you, but for some reason i can't get it to work.

I first put it into my personal macro workbook, then tried in the sheet
code.

either way i can't get it to work

i get an error 2042
for this line
res = Application.Match(myCell.Value, myRng, 0)

res = error 2042

any suggestions,
i have tried renaming the sheets, no luck

i am kinda baffled.

--
trav
------------------------------------------------------------------------
trav's Profile: http://www.excelforum.com/member.php...o&userid=31420
View this thread: http://www.excelforum.com/showthread...hreadid=520341


--

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
Excel Hyperlink to specific Access object Karla V Excel Discussion (Misc queries) 0 July 1st 05 02:35 PM
Excel should let hyperlink of PDF jump to a specific page like IE. Kenn Tan Excel Discussion (Misc queries) 2 April 18th 05 09:23 AM
Hyperlink to specific worksheet in Excel Glenn Mulno Links and Linking in Excel 2 February 7th 05 06:01 PM
hyperlink to specific sheet in excel mango Excel Worksheet Functions 1 December 9th 04 11:17 AM
Hyperlink to specific sheet in Excel Web File jd17 Links and Linking in Excel 0 December 8th 04 09:03 PM


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