I am trying to write a UDF to remove certain words from an imported text string.
For example, an imported text string might be air-conditioning systems or aircon system
I want to be able to remove the "-" "systems" and "system". I also want to easily add other words to exclusion list in due course.
I can do this easily using a macro but would like to create a UDF to achieve the same result.
Thanks in advance for your help.
For example, an imported text string might be air-conditioning systems or aircon system
I want to be able to remove the "-" "systems" and "system". I also want to easily add other words to exclusion list in due course.
I can do this easily using a macro but would like to create a UDF to achieve the same result.
Thanks in advance for your help.