View Single Post
 
Old 11-22-2013, 12:10 PM
joflow21 joflow21 is offline Windows XP Office 2010 32bit
Novice
 
Join Date: Oct 2013
Posts: 8
joflow21 is on a distinguished road
Default

Thank you Bob. I did wind up using a different code since the value in column A would be the same in all of the headers. I just used:

Sub DeleteRepeatedHeader()
Dim LR As Long, i As Long
LR = Range("A" & Rows.Count).End(xlUp).Row
For i = LR To 2 Step -1
If Range("A" & i).Value = "PLANID" Then Rows(i).Delete
Next i
End Sub
Reply With Quote