yyyy » 05.11.2005 (Сб) 7:31
Сорри Сама нашла Всем спасибо
Dim oFso As New FileSystemObject
Dim oFolder As Folder
Dim oFile As File
Dim sOldName As String
Dim sNewName As String
Dim iCtr As Long
Dim iDotPosition As Integer
Dim sWithoutExt As String
Dim sFolderName As String
sFolderName = FolderName
FolderName = "d:\b\sent\"
Set oFolder = oFso.GetFolder(FolderName)
For Each oFile In oFolder.Files
sOldName = sFolderName & oFile.Name
MsgBox sOldName
Next
Set oFile = Nothing
Set oFolder = Nothing
Set oFso = Nothing