Hide/Unhide Rows when Hyperlink is clicked

D3allamerican07

Board Regular
Joined
Jul 22, 2015
Messages
101
So I have 4 sheets, an Index and 3 error sheets.

The index has each error type in row 1
Row 2 has Sheet 1 errors
Row 3 has Sheet 2 errors
Row 4 has Sheet 3 errors

I need a code to look at the error type in row 1, column B, C, or D, and hide certain rows on the relevant sheet when the hyperlinked number is clicked.

Index:
ColumnA---------ColumnB--------ColumnC----------ColumnD
--------------------Error1------------Error2-------------Error3
Sheet1--------------12-----------------3--------------------5
Sheet2---------------1-----------------40--------------------2
Sheet3---------------0------------------0-------------------0

So when the user clicks the number 12, it activates Sheet1 and hides all rows with Error 2 and 3.

If the user clicks the 40, it activates Sheet2 and hides all rows with Error 1 and 3.
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

Forum statistics

Threads
1,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

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