Do you have a macro called
"Refresh.Time"
The code references "RefreshTime"