Documentación de Invantiveparte de Invantive Cloud
Foros de Soporte de InvantiveIniciar Sesión / Registrarse

I_INTEGRATION_ACTIVE

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

La fórmula de Excel I_INTEGRATION_ACTIVE recupera si Invantive Control para Excel está completamente integrado y activo.

Devuelve: si Invantive Control para Excel está completamente integrado y activo.

Ejemplos

El siguiente código muestra un mensaje cuando Invantive Control para Excel no está activo antes de intentar recuperar el nombre completo de Exact Online:

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

El siguiente código muestra un mensaje cuando Invantive Control para Excel no está activo antes de intentar recuperar todas las propiedades de las cuentas del libro mayor de Exact Online:

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

Notas de la Versión