Hyperlink & VBA

rchiddu

New Member
Joined
Dec 13, 2016
Messages
2
Need your help on a problem, I was working on.


I have a worksheet with two tabs.


Tab 1 : Application List
Tab 2: Job list by application


Tab1 : Columns


Application Code, Application Name, # of Jobs (Using formula COUNTIF("JobList"!$A$1:$A$200)


I have used hyperlink function within number of jobs area using hyperlink. IN this way a user can click on the hyperlink which will take to JobList sheet.


Tab2: Columns
Application Code, Job Name


Need your help on the following:


On App Name when user clicks on # of jobs, it should automatically filter column A for the value from Application List tab and put the cursor on first row in Job List.


I tried to use VBA, but don't know how to combine hyperlink and VBA.


Thank you for your help.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Application Tab Contents:
Application CodeApplication Name# of Jobs
A01App - A015
A02App - A026
A03App - A033
A04App - A042
A05App - A051
A06App - A061
A07App - A074
A08App - A082
A09App - A093
A10App - A105

<colgroup><col><col><col></colgroup><tbody>
</tbody>
# of Jobs Function:=IF(LEN(TRIM(A2))>0,IF(ISNA(VLOOKUP(A2,JobList!$A$2:$A$2950,1,FALSE))," ",HYPERLINK("["&MID(CELL("filename"),SEARCH("[",CELL("filename"))+1, SEARCH("]",CELL("filename"))-SEARCH("[",CELL("filename"))-1)&"]JobList!A"&MATCH(A2,JobList!$A$1:$A$2950,0),COUNTIF(JobList!$A$2:$A$2950,A2)))," ")

JobList Tab Contents

App CodeJob Name
A01Job Name - A01 - 2
A01Job Name - A01 - 3
A01Job Name - A01 - 4
A01Job Name - A01 - 5
A01Job Name - A01 - 6
A02Job Name - A02 - 7

<colgroup><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,213,532
Messages
6,114,177
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top