S
Snoopy
Hey guys
I am working on a dream ...eh .. a template really
I have this macro rolling through a folder to list all filenames into
a worksheet as celle-values.
The folder-path is valued in cell A1.
How will I get my macro bring the folder pathname interactiviate from
this cell into the search sequence in the macro lines?
I think its something in tje line beginning with "Workfile ...." below
Dim WorkFile As String
Dim i As Integer
i = 1
WorkFile = Dir(ThisWorkbook.Path & "\*.*")
Do While WorkFile <> ""
Cells(i, 1).Value = WorkFile
WorkFile = Dir()
i = i + 1
Loop
Thankfully regards
Snoopy
I am working on a dream ...eh .. a template really
I have this macro rolling through a folder to list all filenames into
a worksheet as celle-values.
The folder-path is valued in cell A1.
How will I get my macro bring the folder pathname interactiviate from
this cell into the search sequence in the macro lines?
I think its something in tje line beginning with "Workfile ...." below
Dim WorkFile As String
Dim i As Integer
i = 1
WorkFile = Dir(ThisWorkbook.Path & "\*.*")
Do While WorkFile <> ""
Cells(i, 1).Value = WorkFile
WorkFile = Dir()
i = i + 1
Loop
Thankfully regards
Snoopy