以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  word单元格水平对齐方式如何设置?  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=178197)

--  作者:xluoping
--  发布时间:2022/6/22 21:35:00
--  word单元格水平对齐方式如何设置?

            With .Cell(i,1)
                .VerticalAlignment = msword.WdCellVerticalAlignment.wdCellAlignVerticalTop
                .HorizontalAlignment = msword.WdCellVerticalAlignment.xlGeneral  ??
              End with

请老师指正

--  作者:有点蓝
--  发布时间:2022/6/23 8:47:00
--  
http://t.zoukankan.com/wind-chaser-p-12259834.html

With .Cell(i,1)
                .VerticalAlignment = msword.WdCellVerticalAlignment.wdCellAlignVerticalTop
                .Range.ParagraphFormat.Alignment = msword.WdCellVerticalAlignment.wdCellAlignVerticalCenter
              End with