title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
OLEObject.LostFocus event (Excel) |
vbaxl10.chm501074 |
|
|
9d8004be-97f5-54d2-3826-210f7cf0569f |
05/02/2019 |
medium |
Occurs when an ActiveX control loses input focus.
expression.LostFocus
expression A variable that represents an OLEObject object.
Nothing
This example runs when ListBox1 loses the focus.
Private Sub ListBox1_LostFocus()
' runs when list box loses the focus
End Sub
[!includeSupport and feedback]