Using VBA to record a history of dates

Berth0

New Member
Joined
May 21, 2018
Messages
2
Good Afternoon,

1st time VBA user - please be gentle...

I have built a schedule tracker for maintenance in Excel. Dates when maintenance has been completed is entered into Sheet 2 for the corresponding piece of equipment/task. From this date a 'next due' date is populated on Sheet 1. Sheet 1 (the schedule) is un-editable.

Currently the date entered into sheet 2 is overwritten when a new date is entered. I would like to save each entered date in another sheet, so that a history of maintenance is built.

I have 300 lines with up to 7 tasks per line. Most of the tasks are completed monthly, quarterly and annually.

I would appreciate any help - thanks in advance.

Bert
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
I might add - this doesn't have to be a VBA solution, if there are other ideas, these will also be appreciated...
 
Upvote 0
I see your question has been here on the forum for nearly 24 Hrs. with no reply.
I would suggest you give more specific details.
Like give us the names of both sheets.
Give us sheet names in quotes:
Like "Master" and "Schedule"


I know you said sheet 1 and sheet 2 but it's better for me at least if you give specific names like shown above.

And we need column Numbers like column (3) or Column (C)


You said:
I have 300 lines with up to 7 tasks per line.

But never mentioned what columns we are dealing with are the dates in column 2 column 10 or what?

We only know what you tell us.
Thanks. If you provide more exact details maybe I can help you.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,176
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