引用microsoft word 9.0 object library
在窗体中加一个webbrowser1控件Private Sub Form_Load()Dim wordDoc As New Word.Document
Dim wordApp As New Word.Application
Me.WebBrowser1.Navigate App.Path & "\1.doc"
DoEvents
Set wordDoc = WebBrowser1.DocumentSet wordApp = Me.WebBrowser1.Document.Application
wordDoc.CommandBars(1).Visible = True
wordDoc.CommandBars(2).Visible = True
'wordDoc.CommandBars(3).Visible = TrueEnd Sub
Private Sub Form_Resize()
With WebBrowser1
.Left = 1
.Top = 1
.Width = Me.Width - 300
.Height = Me.Height - 600
End WithEnd Sub