Keys Property (Struct Object)

Object: Struct Object

Access: Read-Only

Returns the collection of names/keys.

Usage

Struct.Keys

Arguments

None.

Return Values

The collection of keys.

Examples

To iterate the keys:

For Each key In Scripting.Globals.Keys 
    MsgBox key & "=" & Scripting.Globals(key) 
Next