Sub SavingIt()
Dim Fname As String, sname As String
Application.ScreenUpdating = False
Fname = Format(Date, "dd-mm-yy") & ".xls"
sname = ThisWorkbook.Path
Set wb = ActiveWorkbook
With wb
.SaveAs sname & "\Rent Receipt- " & Fname
.Close
End With
Application.ScreenUpdating = True
End Sub
Sub auto_open()
On Error GoTo Err
With Range("D4")
.Value = Range("D4") + 1
.NumberFormat = "000"
End With
Err:
End Sub