View Single Post
  #1   Report Post  
ukat101052 ukat101052 is offline
Junior Member
 
Posts: 3
Default Delete certain text from cells

I have a column of data (50 cells), with some cells blank. In certain of the cells, there is a dash that separates the first word in the cell, and the remaining letters/text (actually it is a blank/-/blank). I would like VBA that would delete everything after the first word in the cell (and this word can vary in length). Any ideas?
Thanks in advance.