The code below works fine, except it saves the file in the "Documents" folder instead of the present location. How can I get it to save in the present location? The Desktop, for example.
Private Sub cmbComplete_Click()
usfFinished.Hide
Dim dt As String, wbNam As String
wbNam = "EmpSatSur"
dt = Format(CStr(Now), "yyyymmddhhmmss")
ActiveWorkbook.SaveAs Filename:=wbNam & dt
ActiveWorkbook.Close
End Sub
Bookmarks