View Single Post
 
Old 09-04-2012, 07:36 PM
gmaxey gmaxey is offline Windows XP Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Code:
Sub ScratchMacro()
'A quick macro scratch pad created by Greg Maxey
Dim i As Long
Dim lngCount As Long
For i = ActiveDocument.Tables(1).Rows.Count To 1 Step -1
  lngCount = ActiveDocument.Tables(1).Rows(i).Cells.Count * 2 + 2
  If Len(ActiveDocument.Tables(1).Rows(i).Range.Text) = lngCount Then
    ActiveDocument.Tables(1).Rows(i).Delete
  End If
Next
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/

Last edited by macropod; 09-04-2012 at 08:22 PM. Reason: Added code tags & formatting
Reply With Quote