Paul,
Thanks a lot!
I've managed to solve the puzzle with your help.
The code is:
Code:
Sub remove_tables()
Application.ScreenUpdating = False
With ActiveDocument.Range
With .Find
.ClearFormatting
.Replacement.ClearFormatting
.Text = "([a-z]\))"
.Style = "table-1"
.Replacement.Text = ""
.Format = bSty
.Forward = True
.Wrap = wdFindStop
.MatchCase = True
.MatchWholeWord = True
.MatchWildcards = True
.MatchSoundsLike = False
.MatchAllWordForms = False
.Execute
End With
Do While .Find.Found
If .Information(wdWithInTable) = True Then
.Duplicate.Tables(1).ConvertToText Separator:=vbTab
End If
.Collapse wdCollapseEnd
.Find.Execute
Loop
End With
Exit Sub
errExit:
Beep
Application.ScreenUpdating = True
End Sub