I_INTEGRATION_ACTIVE
This page is partly available in your language; the rest is shown in the original version.
La formula Excel I_INTEGRATION_ACTIVE recupera se Invantive Control for Excel è completamente integrato e attivo.
Restituisce: se Invantive Control for Excel è completamente integrato e attivo.
Esempi
Il seguente codice mostra un messaggio quando Invantive Control for Excel non è attivo prima di tentare di recuperare il nome completo da 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
Il seguente codice mostra un messaggio quando Invantive Control for Excel non è attivo prima di tentare di recuperare tutte le proprietà dei conti del libro mastro da 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