Using Instr to extract path portion.

It will get a bit messy with 10, but have a read through this thread; Dave’s post should help: