I'm looking for some VBA to extract the text: 1620011017 from the below string;
Inv_1620056384_1620011017_1034258
There could be any number of characters, so I think I would need to define it based on the fact it's the string between the 2 underscores.
I think starting from the right of the string would be easiest as starting from the left it's the 2nd string between the _ characters. Starting from the right, it's the first string that meets that criteria.
If anyone could help with their expertise, I'd really appreciate it!
Inv_1620056384_1620011017_1034258
There could be any number of characters, so I think I would need to define it based on the fact it's the string between the 2 underscores.
I think starting from the right of the string would be easiest as starting from the left it's the 2nd string between the _ characters. Starting from the right, it's the first string that meets that criteria.
If anyone could help with their expertise, I'd really appreciate it!