Hi All-
I am very new to VBA. Am trying to learn it as I muddle my way through a project I'm on.
As such, part of the project includes matching cells that begin in column B (range b4 to end) from an "Output" sheet with those in column B (range b6 to b800) of the "Financial Info" sheet.The cells in "Output" can vary based upon a userform listbox - the user selects which suppliers they want to see.
Once there's a match in "Financial Info", I would like that whole row to be copied to "Output", starting in cell B4. It can replace the lookup cell on that page.
I'm stuck. I can select the range in "Output" but am unsure how to go cell by cell & match it to each cell in "Financial Info". I believe there needs to be at least one loop here, but I can't seem to figure it out. I've struggled with this for some time now...
I can e-mail the document if it helps.
I am very new to VBA. Am trying to learn it as I muddle my way through a project I'm on.
As such, part of the project includes matching cells that begin in column B (range b4 to end) from an "Output" sheet with those in column B (range b6 to b800) of the "Financial Info" sheet.The cells in "Output" can vary based upon a userform listbox - the user selects which suppliers they want to see.
Once there's a match in "Financial Info", I would like that whole row to be copied to "Output", starting in cell B4. It can replace the lookup cell on that page.
I'm stuck. I can select the range in "Output" but am unsure how to go cell by cell & match it to each cell in "Financial Info". I believe there needs to be at least one loop here, but I can't seem to figure it out. I've struggled with this for some time now...
I can e-mail the document if it helps.