Greeting!
I am in need of some help with constructing a macro. I've built a workbook containing a table similar to the following:
And among several other tabs in the workbook, there is a template tab named “Company A” that will need to be copied. Also, the data link in the sheet are specific to Company A. That said, the macro should be able to perform the following:
Thanks in advance for your help! It is greatly appreciated…..
I am in need of some help with constructing a macro. I've built a workbook containing a table similar to the following:
Company Name | Directory Path |
Company B | Path B |
Company C | Path C |
Company D | Path D |
Company E | Path E |
Company F | Path F |
Company G | Path G |
And among several other tabs in the workbook, there is a template tab named “Company A” that will need to be copied. Also, the data link in the sheet are specific to Company A. That said, the macro should be able to perform the following:
- Copy template tab "Company A", and then place the copied tab after the "Company A” tab.
- Rename the copied tab to "Company B" and then Find/Replace Directory Path A with Path B.
- Repeat step 1 but place the copied tab after the "Company B” tab. **
- Repeat step 2, but with the “Company C” tab name and directory path.
- Continue to loop through the Company Name - Directory Path table indefinitely until each company is represented with its own tab. (This table will continue to grow.)
Thanks in advance for your help! It is greatly appreciated…..