Skip to content

Latest commit

 

History

History
44 lines (26 loc) · 720 Bytes

Excel.OLEObject.LostFocus.md

File metadata and controls

44 lines (26 loc) · 720 Bytes
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
OLEObject.LostFocus event (Excel)
vbaxl10.chm501074
vbaxl10.chm501074
Excel.OLEObject.LostFocus
9d8004be-97f5-54d2-3826-210f7cf0569f
05/02/2019
medium

OLEObject.LostFocus event (Excel)

Occurs when an ActiveX control loses input focus.

Syntax

expression.LostFocus

expression A variable that represents an OLEObject object.

Return value

Nothing

Example

This example runs when ListBox1 loses the focus.

Private Sub ListBox1_LostFocus() 
 ' runs when list box loses the focus 
End Sub

[!includeSupport and feedback]