Dim app As New MSWord.Application
try
Dim doc = app.Documents.Open("f:\123.docx")
app.ActiveWindow.View.Type = MSWord.WdViewType.wdOutlineView
app.ActiveWindow.View.SeekView = MSWord.WdSeekView.wdSeekPrimaryHeader
app.ActiveWindow.ActivePane.Selection.InsertAfter( "左边 中间 右边" )
doc.save
doc.close(Nothing,Nothing,Nothing)
'app.Visible = True
catch ex As exception
msgbox(ex.message)
finally
app.Quit
End try