FileSystemObject: object.Name [= newname] = Permission denied(Erro

A

augustus

Hi,
I am using Excel to change folder name, but I'm getting

Permission denied:
(Error 70)

I'm running Windows2000 and Office 2003, I tried on Windows95 with Office
2000,not a problem. I didn't have problem using Move method.

Me code:
If IsNumeric(Left(f2.Name, 5)) Then
f1.Name = Left(f2.Name, 5) & " - " & strJobName
Worksheets("ProperlyDeveloped").Cells(i, "B").Value = f1.Name
i = i + 1
Exit For
End If

Why?

Regards
Augustus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top