Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here is the code that I used in a sheet to move cell contents from one row to
another. I'm using in a another sheet and it isn't working....it is moving the entire row to the new column, not just the cells with greater than 7 characters. Any ideas? Thanks Set rng = Range(Cells(2, "K"), Cells(Rows.Count, "K").End(xlUp)) For Each cell In rng If Len(cell.Value) 7 Then cell.Offset(0, 1).Value = cell.Value Next cell.ClearContents End If |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Calculate working days but change working week | Excel Discussion (Misc queries) | |||
Making weekend days working days - the system cuts the working tim | Excel Discussion (Misc queries) | |||
macro was working, now it's not working | Excel Programming | |||
Macro working in Excel 2003; not working in Excel 2000 | Excel Programming | |||
Adding sales from a non working day to the previous working day | Excel Programming |