Dim gpCode(0 To 2) As Integer
Dim dataValue(0 To 2) As Variant
gpCode(0) = -4: dataValue(0) = "<not"
gpCode(1) = 8: dataValue(1) = "TEMP"
gpCode(2) = -4: dataValue(2) = "not>"
Dim TempSet As AcadSelectionSet
TempSet.Select acSelectionSetCrossing, p1, p2, gpCode, dataValue