If not confused, I may be a little uncertain as to what you want! I suspect you may need a "mix and match" of what is now included in the file.
If this does not give you what you want, then please attach a clean file that:
- contains only what you want the end file to look like - including all tabs
- PLUS a few textboxes on each sheet containing explanations of what should hyperlink to what and which cells are to contain dropdowns selections that drive hyperlinks
Setting aside (for now) "linking to "Funder Profile" file" , let's focus on exactly what you want the main file to do
sheet Table is used as our lookup
- columns D:E have dropdowns with values based on the 3 related sheets
- column C will contain links to Funder Profile (IGNORE FOR NOW)
- column B - has a link to Project Details
sheet SelectHere
- if "Project Detail" selected in A4, VBA kicks in and takes user to correct Project in sheet "Project Detail"
- if any other value is selected in A4, then values A2 & A4 are looked up in sheet "Table" and A6 shows the result
- A6 is now either
a hyperlink (if A4 = Project Detail)
OR
a value looked up in sheet "Table"
NOTE - A2/A4/A6 combo could also contain a hyperlink to Funder Profile File - IGNORE FOR NOW
A6 formula:
I was confused by the extra lines you added to sheet "SelectHere" - not sure where these fit in to the main file = so added a link to Project Detail on each line. Note use made of helper column H to avoid the cell looking up itself for a value.
formula in A10 copied down:
Hyperlinks.jpg
VBA code
- in this case the VBA does not make use of the hyperlink formula
- cell reference is derived via lookup
- then sheet and cell selected
NOTE 1
whilst the =HYPERLINK formula works as a link in Excel itself, it will not work as a link with Hyperlinks().Follow function in VBA
does not work if the link in A6 is derived by formula
NOTE 2
A sheet name containing a "space" must be enclosed in single quotation marks ' ' when built into references
That is not required when the name does not contain space(s)
Bookmarks