troubleshooting Question

Parsing Function for Folder pathway

Avatar of Bill Nelson
Bill NelsonFlag for Canada asked on
Windows 10Microsoft AccessWindows OS* ParsingVBA
39 Comments2 Solutions112 ViewsLast Modified:
MS Access 2016 64 bit Windows 10 Home Edition

Need a function to parse the folder number from a string.

Strings look like:

C:\Users\folder a\folder b\date\1\
C:\Users\folder a\folder b\date\19\
C:\Users\folder a\folder b\date\196\

The part up to the number folder is highly variable and so that is why I do not list specific folder names as the counts would change.

Is there a function that could strip the \ out and return the number portion only?
Join our community to see this answer!
Unlock 2 Answers and 39 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 39 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros