![]() |
#2
|
||||
|
||||
![]()
Hi Kannon,
Try the following macro: Code:
Sub Reformat() Application.ScreenUpdating = False Dim i As Long, j As Long With ActiveSheet .Cells.UnMerge For i = 1 To .Cells.SpecialCells(xlCellTypeLastCell).Row If .Cells(i, 1).Value <> "" Then j = i Else If Trim(.Cells(j, 3).Value) <> "" Then .Cells(j, 3).Value = .Cells(j, 3).Value & Chr(10) & .Cells(i, 3).Value .Cells(i, 3).Value = "" End If End If Next For i = .Cells.SpecialCells(xlCellTypeLastCell).Row To 1 Step -1 If .Cells(i, 1).Value = "" Then .Cells(i, 1).EntireRow.Delete Next End With Application.ScreenUpdating = True End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
dr4ke | Excel | 8 | 09-01-2011 07:41 AM |
![]() |
limpbizkit | Excel | 4 | 02-24-2011 09:16 PM |
![]() |
piper7971 | PowerPoint | 1 | 08-19-2010 07:10 AM |
![]() |
CPelkey | Word | 1 | 04-12-2010 09:06 AM |
Have you seen this error statement? | nebb | Word | 4 | 12-01-2009 10:05 AM |