View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Mass Changes in Excel using Wild Cards or other

Let's say that cell A1 contains:

abcdDByy1234

where the yy is arbitrary. In another cell enter:

=MID(A1,1,FIND("DB",A1)+3) & "X" & RIGHT(A1,LEN(A1)-FIND("DB",A1)-3)
which will display:
abcdDByyX1234

You can perform the same type of process in-place with VBA.


--
Gary''s Student - gsnu200789


"Rev Les Hall" wrote:

Help - I've a large spread sheet that needs updating & I'd rather do it in
auto than have someone re-type each cell.

Is it possible to mass replace 4 Characters in a cell with the same 4
characters followed by another charcter or a space?

For example Replace BD22 with BD22X. I've tried the Wild Card ?? which
partially works in that by using BD?? it will find and replace BD?? with
BD??X but unfortunatelly the original charcters are then replaced by the ??

Thanks in anticipation