I want to be able to part of string that was found with wild cards, but maintain the values that the wild cards replaced.
I have data that may contain strings of the following form
xxx, [abcd, efgh], xxx
I want to be able to replace this with the following string
xxx, [abcd/efgh], xxx
Where abcd and efgh will be differnt in all instances.
Would like something like
Find [*,*]
Replace [*/*]
where the replace returns the original values in the abcd & efgh positions.
I don't care if it is done directly in excel or in vba code.
Any ideas?
Thanks
I have data that may contain strings of the following form
xxx, [abcd, efgh], xxx
I want to be able to replace this with the following string
xxx, [abcd/efgh], xxx
Where abcd and efgh will be differnt in all instances.
Would like something like
Find [*,*]
Replace [*/*]
where the replace returns the original values in the abcd & efgh positions.
I don't care if it is done directly in excel or in vba code.
Any ideas?
Thanks
Last edited: