Sub RenameWorkSheet()
Dim ShObj As Worksheet
Set ShObj = ThisWorkbook.Worksheets(1)
If UCase(WeekdayName(Weekday(DateAdd("d", -1, Now)))) = "SUNDAY" Then
ShObj.Name = Format(DateAdd("d", -3, Now), "dd Mmm")
Else
ShObj.Name = Format(DateAdd("d", -1, Now), "dd Mmm")
End If
End Sub