I have a column of cells that has either of the following text: “PRECAMBER = 0mm”, “PRECAMBER =12mm” or “PRECAMBER = 135mm”. There will always be the words “Precamber” and “mm”, the numeral portion (ie 0, 12 or 135) is variable.
I wish to use vba to loop down the column and replace the text with a numeric value, in this case 0, 12 or 135, without “Precamber” or “mm”.
I need help in using the “Mid” or “Split” command to achieve this.
Thanks Sandy.
Bookmarks