VBA to copy/rename files

three482

New Member
Joined
Jul 9, 2024
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi everyone. I’m trying to copy a prebuilt template (“C:\Users\macros\monthly log.xlsm”) and save a copy of the workbook for team members based on a list that includes the current month (for example, “C:\Users\Accounting\Sept monthly log (John Smith).xlsm”, where cell A1 = Accounting and A2 = John Smith). Ideally, I’d like to list other teams in separate columns (like B1 = Service and B2 = Jane Smith). The team rosters are maintained in a separate workbook (rosters.xlsx). Teams are also different sizes - some could have 8, another 15, and another 12.

I hope I have adequately described what I’m looking to accomplish.

Thanks in advance!
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,221,526
Messages
6,160,340
Members
451,637
Latest member
hvp2262

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top