AddLevel Method

Adds a new level to the table (Lookup object).

Syntax

object.AddLevel pInput1, pOutput1, [pInput2], [pOutput2]

Properties

The AddLevel method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

pInput1

Variant. The first input parameter. Used as the lookup value when performing exact match lookups, and the minimum value for range comparison lookups.

pOutput1

Variant. The primary output value.

pInput2

Variant. (Optional) The second input parameter. Used as maximum value for a range lookup comparison.

pOutput2

Variant. (Optional) The secondary output value for this level. This value is used by the lookup object as the “blink to” value at this level.

 

Example

Applies To