Hello, i have a a problem when i try to reach the number of days there are between 2 dates, my code is :
The remaining part works but not the completed days, can you guys help ?
Code:
'COMPLETED
Range("D3").Select
Do While ActiveCell <> Empty
ActiveCell.Offset(1, 0).Select
Loop
ActiveCell.Value = CLng(date) - CLng(List_Projet(id_P).date_debut_P)
'REMAINING
Range("E3").Select
Do While ActiveCell <> Empty
ActiveCell.Offset(1, 0).Select
Loop
ActiveCell.Value = CLng(List_Projet(id_P).deadline_P) - CLng(Range("G2").Value)
The remaining part works but not the completed days, can you guys help ?