Previous Topic

Next Topic

Inhoudsopgave

Book Index

Items Property

Property Property Items[ ItemIndex: Integer ]: Variant (R/W)

Description

Saves a list of global (=application) variables.

Remarks

The Items property allows you, for example, to send values from one script to another script.

Parameters

Result

The name of the global variable.

Example

Sub Main()

' Initiate the variables

Dim Color

' Save the color to be used later for operations

Application.Vars("Color") = "test"

' Now, the following is possible

msgbox Application.vars.items(1)

End Sub