Hi there,
i have a vba code that works fine, but i got a error 58 when the file exists with the same name .
ElseIf InStr(objFile.Name, ".zip") Then
NewName = G_SNAP SHOT" & Format(Date, "DDMMYYYY") & ".zip"
objFile.Name = NewName
' I got ERROR 58 THE FILE ALREADY EXISTS, HOW DO I FIX IT ,ignore this error ?
Thanks in advance for your help
i have a vba code that works fine, but i got a error 58 when the file exists with the same name .
ElseIf InStr(objFile.Name, ".zip") Then
NewName = G_SNAP SHOT" & Format(Date, "DDMMYYYY") & ".zip"
objFile.Name = NewName
' I got ERROR 58 THE FILE ALREADY EXISTS, HOW DO I FIX IT ,ignore this error ?
Thanks in advance for your help