I have a specific directory and was able to get all the names of the files with the below code. They are now listed in column A, 1-400.
I used this code.
I used this code.
Code:
Sub listfiles()
Dim f As String, i As Integer
f = Dir("C:\Documents and Settings\M08040.ADNE\My Documents\Can Delete\Doug52WeekEmployee Volumes\")
i = 1
Do While Len(f) <> 0
Cells(i, "A") = f
f = Dir
i = i + 1
Loop
End Sub
I now want to go into the directory and after Doug52WeekEmployee Volumes\ put the file name which is in A1-400...so something like Doug52WeekEmployee Volumes\A1.
Any ideas?..Also I then have the problem where I need it to find the specific text "Job Description:" and copy the 2 cells directly next to this word.
Thanks for any help guys!