Hi everyone
Can anyone explain to me why this macro, which worked perfectly on the home computer, tested on the company PC before, works and now doesn't work anymore?

Private Sub Workbook_BeforeClose(Cancel As Boolean)
mpath = ActiveWorkbook.Path
mfile = "fis.csv"
If Dir(mpath & "" & mfile) <> "" Then
Kill mpath & "" & mfile
Else
MsgBox "File " & mfile & " non trovato"
End If
End Sub

I highlight the part in yellow
kill mpath & "" & mfile

giving me as an error

Run time error "70" Permission denied

thanks a lot