Invantive 문서Invantive Cloud의 일부
Invantive 지원 포럼로그인 / 회원가입

I_INTEGRATION_ACTIVE

This page is partly available in your language; the rest is shown in the original version.

Excel 수식 I_INTEGRATION_ACTIVE은(는) Invantive Control for Excel이 완전히 통합되어 활성 상태인지 여부를 가져옵니다.

반환값: Invantive Control for Excel이 완전히 통합되어 활성 상태인지 여부.

예시

다음 코드는 Exact Online에서 전체 이름을 가져오기 전에 Invantive Control for Excel이 활성 상태가 아닐 때 메시지를 표시합니다:

Option Explicit

Sub RunSql()
  On Error GoTo Catch
  Dim result As Variant
  '
  ' Get full name of current user.
  '
  If Not I_INTEGRATION_ACTIVE() Then
    MsgBox "Invantive Control for Excel is not available. Please use the Tools menu to activate it."
  End If

  result = InvantiveControlUDFs.I_SQL_SELECT_SCALAR("fullname", "Me")
  MsgBox ("Result is '" & result & "'.")

Finally:
    Exit Sub
Catch:
    HandleError "RunSql"
End Sub

다음 코드는 Exact Online에서 일반 원장 계정의 모든 속성을 가져오기 전에 Invantive Control for Excel이 활성 상태가 아닐 때 메시지를 표시합니다:

Option Explicit

Sub RunSqlTable()
  On Error GoTo Catch
  Dim result() As Variant
  '
  ' Get list of GLAccounts.
  '
  If Not I_INTEGRATION_ACTIVE() Then
    MsgBox "Invantive Control for Excel is not available. Please use the Tools menu to activate it."
  End If

  result = InvantiveControlUDFs.I_SQL_SELECT_TABLE("select * from ExactOnlineREST..GLAccounts")
Finally:
    Exit Sub
Catch:
    HandleError "RunSqlTable"
End Sub

릴리즈 노트