Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 3
Default

So I figured out the solution. Instead of trying to use the find function. I made each header a defined range name then referenced that within the hyperlink

Code:
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:= _
        "All_Data_All_Vendors", TextToDisplay:="Vendor1"
So now regardless of where the cell is within the worksheet, I will be able to hyperlink to it.



Quote:
Originally Posted by Nalij View Post
The problem is that I do not know what the range is going to be. I can define the following:

Case Is ="All Data, Vendor 1": Application.Goto Worksheets("Dataset").Range("?????")

That is why i need to combine this with the find function, so that once the cell with "All Data, Vendor 1" is identified (say B89) it can pass that to the vba code, so that it would read:

Case Is ="All Data, Vendor 1": Application.Goto Worksheets("Dataset").Range("B89")

The range is constantly changing and dynamic which is why i cannot hardcode the cell range - I really don't know what it will be.
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
More on Combined IF Function Elaine Excel Worksheet Functions 2 April 9th 09 08:54 PM
Find earliest date combined with status Ixtreme Excel Discussion (Misc queries) 2 August 28th 07 04:14 AM
lookup combined with search to find keywords and then assign a cat jalbert1975 Excel Programming 7 September 22nd 06 07:45 PM
vlookup combined with AND-function martho Excel Worksheet Functions 1 January 20th 06 12:49 PM
Find min/max in 2 combined columns Tammi Excel Worksheet Functions 3 June 22nd 05 08:19 PM


All times are GMT +1. The time now is 09:39 AM.

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"