billandrew
Well-known Member
- Joined
- Mar 9, 2014
- Messages
- 743
Ia a way to combine the following two codes.
i.e. Replace "th" or "rd" with ""
<colgroup><col width="72" style="width:54pt"></colgroup><tbody>
</tbody>
<colgroup><col width="72" style="width:54pt"> </colgroup><tbody>
</tbody>
i.e. Replace "th" or "rd" with ""
Selection.Replace What:="th", Replacement:="", LookAt:=xlPart, _ |
SearchOrder:=xlByRows, MatchCase:=True, SearchFormat:=False, _ |
ReplaceFormat:=False |
End Sub |
<colgroup><col width="72" style="width:54pt"></colgroup><tbody>
</tbody>
Sub Replace_rd() |
Selection.Replace What:="rd", Replacement:="", LookAt:=xlPart, _ |
SearchOrder:=xlByRows, MatchCase:=True, SearchFormat:=False, _ |
ReplaceFormat:=False |
End Sub |
<colgroup><col width="72" style="width:54pt"> </colgroup><tbody>
</tbody>