Help: VBA for autofilling dates given a start date and project duration.

Swoop

New Member
Joined
Jan 13, 2017
Messages
1
Hello, I am looking to create a VBA for a project where I have a start date In A1 and number of months in A2. I would like to be prompted for the start date and the duration ex,) 10 months. I would like it to auto fill the columns c1-c... with the dates.

Here is what I have been manually building and would like to streamline the process. Any help would be great:)

So essentially I say the number of months the phase is and in which months the phase should be completed. So for this one the start date is nov-16 and it is a 2 month phase so I go in and add the dates.


Project Phase I - BasePhase I - Option 1
Labor rateAug labor rates +…..Aug 2017 Labor Rates + 2017 Proposed Provisional Indirect Rates
Month123456789101112
DateNov-16Dec-16Jan-17Feb-17Mar-17Apr-17May-17Jun-17Jul-17Aug-17Sep-17Oct-17
Base Task 1
# of Mos.2 POP = Mos. 1-2

<colgroup><col><col><col><col span="12"></colgroup><tbody>
</tbody>
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,215,923
Messages
6,127,721
Members
449,399
Latest member
VEVE4014

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