windowsforms-14861-controls-and-libraries-spreadsheet-visual-elements-name-box.md
A Name Box is a part of the formula bar (SpreadsheetFormulaBar) that displays a reference to the currently active cell. If a cell range selected in a worksheet has a name, the name box displays the range name, as well as a table, picture or chart name when the corresponding object is selected. The name box also allows end-users to create workbook level defined names for cells, and quickly navigate to cells by their references and names.
To display or hide the name box in your application, use the SpreadsheetFormulaBar.ShowNameBox property. This property is true by default.
Below is the list of capabilities provided by the name box.
Obtain an active cell reference
Select cells by references
Control the number of rows and columns while selecting a cell range with the mouse
Create workbook level names for cells
Select cells by names
Obtain the selected table, picture or chart name
See Also