Recurring Date

M

Mickey

Hi,
I am new to excel formulas and would like to know if it is possible to have
a recurring date. For example:
Column E = Start Date
Column F = Status
When Column F = "Status Complete" then column E start date changes to
current date + 7.

Thanks,
Mickey
 
J

Jacob Skaria

You will need to use the Worksheet Change event to change the date in the
same cell to a different value. Right click on the sheet tab>View code and
then paste the below code...Try and feedback..

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 6 Then
If Trim(Cells(Target.Row, 6)) = "Status Complete" _
Then Cells(Target.Row, 5) = Date + 7
End If
End Sub

'Set the Security level to low/medium in (Tools|Macro|Security)


If this post helps click Yes
 
M

Mickey

Thanks Jacob,
It worked perfectly by changing "Date + 7" to "(Date) + 7".

Thanks again,
Mickey
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top