Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming,microsoft.public.excel.misc,microsoft.public.excel
|
|||
|
|||
![]()
I have a relatively large spreadsheet with numerous values repeated
(within the same column) and I would like to merge adjacent, identical cells. I have attempted to tweak an existing macro that deletes repetitive, adjacent cells without any sucess. Does anyone have any suggestions? --Chris My existing macro for deleting these cells: Sub RemoveDuplicates() totalrows = ActiveSheet.UsedRange.Rows.Count For Row = totalrows To 2 Step -1 If Cells(Row, 2).Value = Cells(Row - 1, 2).Value Then Rows(Row).Delete End If Next Row End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Add cells on two adjacent rows but non-adjacent columns | Excel Worksheet Functions | |||
Merging adjacent repeated columns with a macro | Excel Discussion (Misc queries) | |||
Finding repeated data in adjacent cells | Excel Discussion (Misc queries) | |||
Macro issue with Merging Non-Contiguous Columns | Excel Programming | |||
Macro to Combine 2 columns to make one column without merging | Excel Discussion (Misc queries) |