Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
Beginning with row4 in ColumnE my data has CO125. I want to cut the CO and paste it in ColumnF. This is the macro I've got so far: Sub DeleteCharacters() ' Dim strS, strC Set Rng = Range("B7:D65000") For Each cell In Rng strS = "CO" strC = Left(cell, 2) If strC = strS Then strC.Select Selection.Cut ElseIf cell.Value = "" Then Exit Sub End If Next End Sub Thank you for your help, jfcby |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Paste and Paste Special No Longer Working - Excel 2003 | Excel Discussion (Misc queries) | |||
Excel 2003, SUM left-most characters | Excel Worksheet Functions | |||
Excel 2003 - Mouse Scrolls Left to Right.. | Excel Discussion (Misc queries) | |||
Upgrade from Excel 2000 to Excel 2003 without MS Office 2003? | Excel Discussion (Misc queries) | |||
Excel 2003 - Footer Left/Right Margins | Excel Discussion (Misc queries) |