打印代码这样写
Dim app As New MSWord.Applicationtry Dim fileName = "d:\test.doc" Dim doc = app.Documents.Open(fileName) Doc.PrintPreview app.Visible = True 'Doc.PrintOut '打印catch ex As exception msgbox(ex.message)finally 'app.QuitEnd try