I would like help creating VBA that creates a unique list based on input in cell 'H1' and provides vertical output starting at cell 'E5'. (cell 'H1' will always be a 1- or 2-digit number)
Starting in cell 'A5' of the sheet named "Products" I have a list of unique product numbers. Starting in cell 'C5' I have a list of product types. Because the number of products varies from project to project, the last row of both columns 'A' & 'C' needs to be determined by column 'B' ( LastRow = .Cells(.Rows.Count, 2).End(xlUp).Row ) due to values input by user in column 'B'. There will be no blank rows in column 'B' but values in columns 'A' & 'C' could falsely extend past the last row of column 'B' and should not be included in the result search.
Request: VBA to provide a list starting at 'E5' of products (column 'A') that match product type (column 'C') and the value that the user input in cell 'H1' without blank rows between the results?
I plan to fire this routine with a button, which I am able to set up.
Thank you in advance.
Starting in cell 'A5' of the sheet named "Products" I have a list of unique product numbers. Starting in cell 'C5' I have a list of product types. Because the number of products varies from project to project, the last row of both columns 'A' & 'C' needs to be determined by column 'B' ( LastRow = .Cells(.Rows.Count, 2).End(xlUp).Row ) due to values input by user in column 'B'. There will be no blank rows in column 'B' but values in columns 'A' & 'C' could falsely extend past the last row of column 'B' and should not be included in the result search.
Request: VBA to provide a list starting at 'E5' of products (column 'A') that match product type (column 'C') and the value that the user input in cell 'H1' without blank rows between the results?
I plan to fire this routine with a button, which I am able to set up.
Thank you in advance.