Hi, I REALLY need some help, please! I can do basic macros and am expanding my skills, but not nearly to this level. Here's what I'm trying to do:
Every two weeks, two reports are run and are exported into Excel. Productivity workbook has a spreadsheet for each employee; PROD PPE workbook has one spreadsheet with each of the employees listed last name in column A and first name in column B.
I'm looking to create a macro that will take care of one of many tasks that needs to be done on these reports: Go into each sheet in Productivity (the employee's name is both the sheet tab name and also the data in cell B3) and copy cell C18 to the column H in PROD PPE for the corresponding employee. There is fairly regular turnover, so the employee names are not static.
I've created the macro to activate PROD PPE and concatenate the list of names so that I can search for them later in the process and then activate Productivity, but that is where I am stumped. I can figure out how to tell the macro to copy and paste - the basics. But I don't know how to search for the names or loop through the sheets, etc.
Here's the process as I see it. Please feel free to tell me if I'm off base: Concatenate the names in PROD PPE for searching; Activate Productivity; go to tab named Smith, John; move to cell C18, copy the data, activate PROD PPE; search for Smith, John; move to column H in that row; paste the data; activate Productivity; move to the next tab and begin the process again; continue until no more tabs; end process.
If anyone can help me, I will be VERY grateful. ANY part of this that you can help with will help to move me along.
Thank you!!
Every two weeks, two reports are run and are exported into Excel. Productivity workbook has a spreadsheet for each employee; PROD PPE workbook has one spreadsheet with each of the employees listed last name in column A and first name in column B.
I'm looking to create a macro that will take care of one of many tasks that needs to be done on these reports: Go into each sheet in Productivity (the employee's name is both the sheet tab name and also the data in cell B3) and copy cell C18 to the column H in PROD PPE for the corresponding employee. There is fairly regular turnover, so the employee names are not static.
I've created the macro to activate PROD PPE and concatenate the list of names so that I can search for them later in the process and then activate Productivity, but that is where I am stumped. I can figure out how to tell the macro to copy and paste - the basics. But I don't know how to search for the names or loop through the sheets, etc.
Here's the process as I see it. Please feel free to tell me if I'm off base: Concatenate the names in PROD PPE for searching; Activate Productivity; go to tab named Smith, John; move to cell C18, copy the data, activate PROD PPE; search for Smith, John; move to column H in that row; paste the data; activate Productivity; move to the next tab and begin the process again; continue until no more tabs; end process.
If anyone can help me, I will be VERY grateful. ANY part of this that you can help with will help to move me along.
Thank you!!