How to reset/release variables at the conclusion of an excel VBA loop procedure or before exit sub?
For instance,
Dim Report2Sheet As Worksheet
Dim ptSheet As String
Dim i As Long
Dim PatientExist As Boolean
Dim LabDate As Date
At end:
set Report2Sheet = Nothing
ptSheet = vbNullString
How about the Long, Boolean, and Date variables?
Thanks