Brian Feth
New Member
- Joined
- May 21, 2017
- Messages
- 37
Windows 11, Excel 2021
Can anyone tell me how to remove all of the 29 characters preceding the word VENDOR from the example below using VBA (or any other word in that location, "VENDOR” is an example).
Identifying what is unique to the position in the string; there are 29 preceding characters, there are 4 preceding spaces , and VENDOR is 3 characters after a "/".
Using VBA I want to change String1 into string 2,
String1 = PURCHASE AUTHORIZED ON 01/18 VENDOR Mktp US*R01QK Amzn.com/bill WA
String2 = VENDOR Mktp US*R01QK Amzn.com/bill WA
Help is always appreciated!
Can anyone tell me how to remove all of the 29 characters preceding the word VENDOR from the example below using VBA (or any other word in that location, "VENDOR” is an example).
Identifying what is unique to the position in the string; there are 29 preceding characters, there are 4 preceding spaces , and VENDOR is 3 characters after a "/".
Using VBA I want to change String1 into string 2,
String1 = PURCHASE AUTHORIZED ON 01/18 VENDOR Mktp US*R01QK Amzn.com/bill WA
String2 = VENDOR Mktp US*R01QK Amzn.com/bill WA
Help is always appreciated!