j = Str(i)
j = Right(j, Len(j) - 1)
Dim fso As New Scripting.FileSystemObject
Dim pFolder As Scripting.Folder
Set pFolder = fso.GetFolder("E:\WorkInProgress\Data base of Archive\Scan_Doc")
For Each pFile In pFolder.Files
I=I+1
fso.CopyFile pFile.Path, "E:\WorkInProgress\Data base of Archive\Copy\" (mid$ (pFile.Name , 1, len(pFile.Name) -4) & I & ".pdf")
Next pFile
Сейчас этот форум просматривают: Mail.ru [бот] и гости: 15