Page tree
Skip to end of metadata
Go to start of metadata

현재 Active되어 있는 WorkBook의 Wrraper


typemember의미
stringFolderCode현재 Report의 FolderCode
stringFullName현재 Report의 Full 경로
stringCode현재 Report의 Code
stringName현재 Report의 이름


Example

Sub GetWorkbookCode()
    Dim mxmodule As Object
    Dim ReportCode
    Set mxmodule = Application.COMAddIns.Item("iMATRIX.ExcelModule").Object
    ReportCode = mxmodule.xapi.ActiveBook.Code

    Debug.Print ReportCode
End Sub
  • No labels

1 Comment

  1. Sub GetWorkbookCode()

        Dim mxmodule As Object
        Dim ReportCode

        Set mxmodule = Application.COMAddIns.Item("iMATRIX.ExcelModule").Object
        ReportCode = mxmodule.xapi.ActiveBook.Code

        Debug.Print ReportCode

    End Sub