关于在VB内写VBA的有关问题,在WORD中的某单元格内(如在格子(4,3)内)

关于在VB内写VBA的问题,在WORD中的某单元格内(如在格子(4,3)内)
,想让它水平和垂直都要居中,代码是什么?谢谢

------解决方案--------------------
WordApp.ActiveDocument.Tables(1).Cell(1, 4).Select '选中某单元格
WordApp.Selection.Cells.VerticalAlignment = wdCellAlignVerticalCenter '垂直居中
WordApp.Selection.ParagraphFormat.Alignment = wdAlignParagraphCenter '水平居中