Hi,
I am trying to hide rows in sheet 4 of my workbook that don't contain the value of cell B4 in sheet 1.
In cell B4 of sheet 1 in my workbook I will be manually entering a portfolio number. Sheet 4 contains a full list of all portfolios (558 rows). I am trying, thus far very unsuccessfully, to write a code which will hide all of the rows between row 6 and row 558 in sheet 4 that do not contain the portfolio number manually entered into cell B4 of sheet A1. I would love it to be automatic so that when I enter a new portfolio number I can run the macro and only the rows which contain that number are displayed.
In sheet 4 which contains the full list of portfolios the portfolio number is in column A (from row 6 to 558), the other columns contain information which correspond to this portfolio and as such I don't want the other columns to be hidden just the rows.
If this doesn't make sense/needs elaboration let me know.
Any help would be much appreciated!!
Thanks.
I am trying to hide rows in sheet 4 of my workbook that don't contain the value of cell B4 in sheet 1.
In cell B4 of sheet 1 in my workbook I will be manually entering a portfolio number. Sheet 4 contains a full list of all portfolios (558 rows). I am trying, thus far very unsuccessfully, to write a code which will hide all of the rows between row 6 and row 558 in sheet 4 that do not contain the portfolio number manually entered into cell B4 of sheet A1. I would love it to be automatic so that when I enter a new portfolio number I can run the macro and only the rows which contain that number are displayed.
In sheet 4 which contains the full list of portfolios the portfolio number is in column A (from row 6 to 558), the other columns contain information which correspond to this portfolio and as such I don't want the other columns to be hidden just the rows.
If this doesn't make sense/needs elaboration let me know.
Any help would be much appreciated!!
Thanks.