老师好,我用word VBA控制项目列表,代码如下: Selection.Range.ListFormat.ApplyListTemplateWithLevel ListTemplate:= _
ListGalleries(wdNumberGallery).ListTemplates(1), ContinuePreviousList:= _
False, ApplyTo:=wdListApplyToSelection, DefaultListBehavior:= _
wdWord10ListBehavior
此主题相关图片如下:捕获 (2).png
VBA代码可实现将科目表 一行前面添加编号。如何用狐表实现呢?谢谢老师
Dim app As New MSWord.Application
Dim doc = app.Documents.Open("e:\Word.docx")
app.Visible = True
------------------------