The Select By Name command opens the Select From Scene dialog, which lets you select objects by their assigned names without having to click in the viewports.
To select objects by name:
The Select From Scene dialog opens. By default, this dialog lists all objects in the scene. Any selected objects are highlighted in the list.
The dialog closes and the objects are selected.
For more information, see Select From Scene.