julie_nickb
New Member
- Joined
- Sep 13, 2018
- Messages
- 46
- Office Version
- 365
Hello,
In VBA, I would like to split a string variable in two, at the point where the first time "_" is used.
For example, if the string is "ABC_12345_asd", I would like to split it into "ABC" and "_12345_asd".
I know how to do this is Excel using the "FIND" and "LEFT" functions, but having problems in VBA.
Thanks for your help.
Tt
In VBA, I would like to split a string variable in two, at the point where the first time "_" is used.
For example, if the string is "ABC_12345_asd", I would like to split it into "ABC" and "_12345_asd".
I know how to do this is Excel using the "FIND" and "LEFT" functions, but having problems in VBA.
Thanks for your help.
Tt