...
코드 블럭 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
'==========================================================================
'matrix 서버에 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
|
...