Calculate time difference in word VBA : I would like to calculate the time difference between 2 cells and the result showing in the 3rd cell.
For instance, cell D2 showing 2pm and D1 showing 1pm and the difference in cell B2

Sub DetermineDuration()
    Dim doc As Document
    Dim rng As Range
    
    Dim dtDuration As Date
    dtDuration = DateDiff("h:mm:ss", D2, D1)
    Range("B2").dtDuration
End Sub

