property Items.PrevVisibleItem (Item as HITEM) as HITEM

Retrieves the handle of previous visible item.

TypeDescription
Item as HITEM A long expression that indicates the item's handle.
HITEM A long expression that indicates the handle of the previous visible item

The PrevVisibleItem property retrieves 0 if there are no more previous visible items. Also, please check the NextVisibleItem property.