Is there a way to have vba which does the following.
If the text in the cell A1 in the sheet1 says "sheet2", the vba copies column B from the sheet2 and pastes it the column B of the sheet1. And, if the text in the cell A1 in the sheet1 says "sheet3", the vba copies column B from the sheet3 and pastes it the column B of the sheet1. The workbook will have many more sheets than the three sheets I described. But the goal is to paste into column B of the sheet1 data from the sheet with the matching name. Thank you.
If the text in the cell A1 in the sheet1 says "sheet2", the vba copies column B from the sheet2 and pastes it the column B of the sheet1. And, if the text in the cell A1 in the sheet1 says "sheet3", the vba copies column B from the sheet3 and pastes it the column B of the sheet1. The workbook will have many more sheets than the three sheets I described. But the goal is to paste into column B of the sheet1 data from the sheet with the matching name. Thank you.