【セル重複削除】


For iRowIdx = .Cells(Rows.Count, 1).End(xlUp).Row To 2 Step -1
    For iChkTargetRowIdx = iRowIdx - 1 To 2 Step -1
        If .Cells(iRowIdx, 1) = .Cells(iChkTargetRowIdx, 1) Then
            .Cells(iChkTargetRowIdx, 1).EntireRow.Delete Shift:=xlShiftUp
        Else
            'Do Nothing
        End If
    Next iChkTargetRowIdx
Next iRowIdx
 

最終更新:2015年03月04日 21:53