> Hello All,
> I am using Office XP. I have a document with many tables of various
[quoted text clipped - 9 lines]
> TIA
> Rashid
Hi Rashid,
This should do:
Sub DoubleBorder()
Dim oTbl As Table
On Error Resume Next
For Each oTbl In ActiveDocument.Tables
If oTbl.Columns.Count = 4 Then
oTbl.Columns(2).Borders(wdBorderRight) _
.LineStyle = wdLineStyleDouble
End If
Next oTbl
End Sub
It has one limitation: if a 4-column table contains any horizontally merged
cells, the border in that table will not be changed. That's because trying
to do anything with the Columns collection in such a table causes an error
(hence the On Error statement, which causes the macro to ignore the table).
If this is a problem for you, please reply in the newsgroup.

Signature
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Rashid Khan - 01 Sep 2004 19:12 GMT
Hi Jay,
Thanks for your quick response.
It works like a charm. You r a genious.
Rashid
> > Hello All,
> > I am using Office XP. I have a document with many tables of various
[quoted text clipped - 37 lines]
> Jay Freedman
> Microsoft Word MVP FAQ: http://word.mvps.org