'==========================================================================
'서버에 file을 upload 합니다.
'server/reports/folderxxx 에 생성됩니다.
'==========================================================================
Public Sub UploadFileTest()
Dim mxmodule As Object
Set mxmodule = Application.COMAddIns.Item("iMATRIX6.ExcelModule").Object
result = mxmodule.xapi.UploadFile("c:\test3.csv", "folder1")
'첫번째오류 컬럼의확인
값을 사용 If result = False Then
MsgBox "upload fail " & mxmodule.xapi.LastErrorMessage
Else
MsgBox "upload success"
End If
End Sub
|