Hi,
I know it's possible to loop thru folders on a netwrok and pick up all files within a folder. What I'd like to do is similar but......
I need to loop thru all folders on a server and list them all in a worksheet. The catch is this...I only want to list those that are a maximum of 4 levels down from the root ie
\\Yorkshire\Shared\Knowledge\GeoffB\Excel
I only want to see up to GeoffB
As an alternative, if this isn't possible, if the folder's FULL path can be shown instead of just the folder name, I can work with that ie
show:
Yorkshire\Shared\Knowledge\GeoffB\Excel
in the cell
I can then loop thru and delete those with 4 or more "\"
TIA Rgds
~Geoff~
I know it's possible to loop thru folders on a netwrok and pick up all files within a folder. What I'd like to do is similar but......
I need to loop thru all folders on a server and list them all in a worksheet. The catch is this...I only want to list those that are a maximum of 4 levels down from the root ie
\\Yorkshire\Shared\Knowledge\GeoffB\Excel
I only want to see up to GeoffB
As an alternative, if this isn't possible, if the folder's FULL path can be shown instead of just the folder name, I can work with that ie
show:
Yorkshire\Shared\Knowledge\GeoffB\Excel
in the cell
I can then loop thru and delete those with 4 or more "\"
TIA Rgds
~Geoff~