合并单元格
合并单元格相信大家都会,比如下面这段简单的代码就可以实现:
\napp='Word'
word=win32.gencache.EnsureDispatch('%s.Application' % app)
doc=word.Documents.Add()
word.Visible=False
#Title begin
sel =word.Selection
sel.Font.Name = u"微软雅黑"
sel.Font.Size = 8
sel.Font.Bold = False
sel.Font.Italic = False
sel.Font.Underline = False
1