Hello,
I have reached my VBA abilities in trying to figure this out, and was hoping for some help. I have a script which calls an API and returns a bunch of text, stored in a string variable. I was wondering if there is any way in which I can VBA search the string for any of a list of keywords, and if one is found, for it to return in a cell the 20 characters before & after the keyword appears?
There is also a chance that multiple keywords will appear in the string, so I would want them added vertically in the same row, ie:
Much appreciated!
I have reached my VBA abilities in trying to figure this out, and was hoping for some help. I have a script which calls an API and returns a bunch of text, stored in a string variable. I was wondering if there is any way in which I can VBA search the string for any of a list of keywords, and if one is found, for it to return in a cell the 20 characters before & after the keyword appears?
There is also a chance that multiple keywords will appear in the string, so I would want them added vertically in the same row, ie:
hsfdhfosjglksjfgKEYWORD1hgwlkejtghljkhwetlg | ewjf'lkwqg]pojqj34pi5jgKEYWORD2hjfdk.hwrlhjwlghjqkdwjg | ... |
Much appreciated!