我想在vb里面打开word,但怎么也打不开,请问是什么问题啊?
Option ExplicitPrivate Declare Function WinExec Lib "kernel32" (ByVal lpCmdLine As String, ByVal nCmdShow As Long) As LongDim path As String
Dim i As Long
path = App.path & "\report\" & File1.Filenamei = WinExec(path, 9)
If i > 32 Then
MsgBox (" run correct ")
Else
MsgBox ("run error")
End If
Option ExplicitPrivate Declare Function WinExec Lib "kernel32" (ByVal lpCmdLine As String, ByVal nCmdShow As Long) As LongDim path As String
Dim i As Long
path = App.path & "\report\" & File1.Filenamei = WinExec(path, 9)
If i > 32 Then
MsgBox (" run correct ")
Else
MsgBox ("run error")
End If
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货