- Код: Выделить всё
Set TableWord = DocWord.Tables.Add(DocWord.Application.Selection.Range, 3, 2)
TableWord.Rows(2).Height = CentimetersToPoints(1.1)
TableWord.Rows(3).Height = CentimetersToPoints(1.1)
TableWord.Rows(1).Height = CentimetersToPoints(0.6)
TableWord.Cell(1, 1).Range.Text = "Текст 1"
TableWord.Cell(2, 1).Range.Text = "Текст 2"
TableWord.Cell(3, 1).Range.Text = "Текст 3"
With DocWord.ActiveWindow.Selection
.Font.Bold = False
.ParagraphFormat.Alignment = 0
.Font.Size = 12
.Font.Name = "Times New Roman"
.InsertParagraphAfter
.InsertParagraphAfter
.InsertAfter "ТЕКСТ 4".EndOf
End With
ТЕКСТ 4 выводит в в ячейку 1,1 а?
