Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub Document_Open()
Dim StartDate As Date
Dim WorkRow As Row
Dim CellText As String
For Each WorkRow In Me.Tables(1).Rows
CellText = WorkRow.Cells(1).Range.Text
On Error Resume Next
StartDate = CDate(Left$(CellText, Len(CellText) - 2))
If Err.Number = 0 Then
WorkRow.Cells(2).Range.Text = CStr(Date - StartDate)
End If
Next
End Sub