M
Marino13
When I run this code;
Sub Newe()
ActiveSheet.Copy
Set wb = ActiveWorkbook
With wb
.SaveAs ("The File.xls")
.SendMail Recipients:="(e-mail address removed)", Subject:= _
"Your file"
Kill .FullName
.Close False
End With
End Sub
I am getting an error message that says:
Run-Time error '75':
Path/File access error
The debugger highlights the Kill .FullName line of my code.
What's wrong with this
Sub Newe()
ActiveSheet.Copy
Set wb = ActiveWorkbook
With wb
.SaveAs ("The File.xls")
.SendMail Recipients:="(e-mail address removed)", Subject:= _
"Your file"
Kill .FullName
.Close False
End With
End Sub
I am getting an error message that says:
Run-Time error '75':
Path/File access error
The debugger highlights the Kill .FullName line of my code.
What's wrong with this