Macro to generate directory subfolders based on new entries only in tracking sheet

kelle

Board Regular
Joined
Apr 1, 2015
Messages
93
I'm working on a tracking sheet for a manager that includes automatically-generated file numbers for any new content--so whenever I enter a new line, the number "2018-x" (where "x" is the next number in the series) populates. Because these tracking items will include follow up content, I need to write a macro that will automatically populate the directory folder where the Excel document is with all of those numbered folders--2018-1 through, say, 2018-32--so that I can save content to them. HOWEVER, I want to make sure that at no point does the macro over-write previous folders. How would I go about doing this? I'm assuming running it on a save event, but... I have no idea! Help please :( Thanks in advance!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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