Set rngRange = objWord.ActiveDocument.Range
With rngRange
.InsertParagraphAfter
.InsertParagraphAfter
.Collapse wdCollapseEnd
.Tables.Add rngRange, RoomRow, RoomColumn
.InsertBreak
.Tables.Add rngRange, RoomRow, RoomColumn
end with
With rngRange
.InsertParagraphAfter
.InsertParagraphAfter
.Collapse wdCollapseEnd
.Tables.Add rngRange, RoomRow, RoomColumn
.InsertBreak
.Tables.Add rngRange, RoomRow, RoomColumn
end with
with rngRange
.Borders(wdBorderTop).LineStyle = wdLineStyleSingle
.Borders(wdBorderBottom).LineStyle = wdLineStyleSingle
.Borders(wdBorderLeft).LineStyle = wdLineStyleSingle
.Borders(wdBorderRight).LineStyle = wdLineStyleSingle
end with