taking a word out
Select the range and try the below macro
Sub Macro()
For Each cell In Selection
cell.Value = Trim(Replace(cell.Text, "Average", Chr(32)))
Next
End Sub
If this post helps click Yes
---------------
Jacob Skaria
"childofthe1980s" wrote:
Hello:
I have a column that contains an inventory item number followed by a space
and then the word "Average".
How do I take out the space and "Average", so that I can just have the
inventory item number?
There is no set number of characters for the inventory item number.
childofthe1980s
|