Imports Microsoft.Office.Interop
Public Class Form1
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim objWord As New Word.Application
objWord.Visible = True
objWord.Documents.Open("c:\test.doc", , , True)
End Sub
End Class
Imports Microsoft.Office.Interop Public Class Form1
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Dim objWord As New Excel.Application objWord.Visible = True objWord.Workbooks.Open("c:\test.xls", , , True) End Sub End Class
http://www.vnote.123a.kr/BASIC/2260
이 댓글을
엑셀 오픈
Imports Microsoft.Office.Interop
Public Class Form1
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim objWord As New Excel.Application
objWord.Visible = True
objWord.Workbooks.Open("c:\test.xls", , , True)
End Sub
End Class
이 댓글을
이 댓글을