Sorry about that
Sub UpdateSh()
Dim ws As Worksheet
Dim wsEmail As Worksheet
Dim shipD As Date
Dim nowD As Date
Dim Days As Integer
Dim Track As String
Set ws = Sheets("MV")
Set wsEmail = Sheets("Emails")
nowD = Date
Lr = ws.Cells(Rows.Count, "A").End(xlUp).Row
LrEmail = wsEmail.Cells(Rows.Count, "A").End(xlUp).Row
For x = 2 To Lr
Track = ws.Cells(x, "B")
If ws.Cells(x, "A") <> "" Then
ws.Cells(x, "D") = Application.WorksheetFunction.VLookup(ws.Cells(x, "A"), wsEmail.Range("A2:E" & LrEmail), 4, False)
ws.Cells(x, "E") = Application.WorksheetFunction.VLookup(ws.Cells(x, "A"), wsEmail.Range("A2:E" & LrEmail), 5, False)
ws.Cells(x, "F") = "=ShipTrack(" & Track & ",""UPS"")"
shipD = ws.Cells(x, "C")
Days = DateDiff("d", shipD, nowD)
ws.Cells(x, "G") = Days
End If
Next x
End Sub