title | keywords | f1_keywords | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
SetFocus method (VBA Add-In Object Model) |
vbob6.chm1098991 |
|
408bf4f7-5b76-e9dc-de60-c076470f88f4 |
12/06/2018 |
medium |
Moves the focus to the specified Window.
object.SetFocus
The object placeholder is an object expression that evaluates to an object in the Applies To list.
Use the SetFocus method on windows that are already visible.
- Collections (Visual Basic Add-In Model)
- Visual Basic Add-in Model reference
- Visual Basic language reference
[!includeSupport and feedback]