MattBaldry
Self Taught, Learn from the Forums
- Local time
- Today, 10:13
- Joined
- Feb 5, 2019
- Messages
- 292
Access/VBA Tutorials - List files recursively
Tutorial: List files recursively. A guide to recursively searching a folder.
www.everythingaccess.com
Hi all,
I am after some help with the above link. I am after a way of displaying all items inside a folder. The current code I have shows only the top level folder contents and no subfolders.
The above link shows all files, which is great, but it displays the full path (S:\mainfolder\subfolder\filename.ext), including the top level folder. My listbox is not wide enough to show the entire path and I do not have the space to make it wide enough.
Would anyone know how to adjust this to remove the main folder path and just show as subfolder\filename.ext
Regards,
Matt