# Adding a Note to a Cell

Learn how you can add a note to a cell or range of cells that may contain text such as a comment, a question, etc, using Spread for ASP.NET.

## Content

You can add a note to a cell or range of cells. The note may contain text such as a comment, a question, or documentation describing the origin of the cell's value. When the pointer is over a cell that has a note, the note text displays in a box next to the cell. Notes cannot be placed in cells in the column or row headers.
![Cell Note](https://cdn.mescius.io/document-site-files/images/346c9178-0ed8-4fb9-908b-1565b22fb408/artwork/cellnote.png)

## Using the Properties Window

1. At design time, in the **Properties** window, select the FpSpread component.
2. Select the **Sheets** property.
3. Click the button to display the **SheetView Collection Editor**.
4. Select the **Cells** drop-down.
5. Select the cells for which you want to set the note.
6. Set the **Note** property.
7. Select **OK**.

## Using a Shortcut

Set the [Note](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.Cell.Note.html) property for the cells in the sheet of the component.
**Example**
This example code sets the [Note](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.Cell.Note.html) property for a range of Cell objects.

```csharp
FpSpread1.Sheets[0].ColumnCount = 4;
FpSpread1.Sheets[0].RowCount = 4;
FpSpread1.Sheets[0].Cells[1, 1, 3, 3].Note = "This is the note that describes the value.";
FpSpread1.Sheets[0].Cells[1, 1, 3, 3].Value = "Value Here";
```

```vbnet
FpSpread1.Sheets(0).ColumnCount = 4
FpSpread1.Sheets(0).RowCount = 4
FpSpread1.Sheets(0).Cells(1, 1, 3, 3).Note = "This is the note that describes the value."
FpSpread1.Sheets(0).Cells(1, 1, 3, 3).Value = "Value Here"
```

## Using Code

Set the [Note](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.Cell.Note.html) property for the [Cell](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.Cell.html) object for a range of cells.
**Example**
This example code sets the [Note](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.Cell.Note.html) property for a range of Cell objects.

```csharp
FarPoint.Web.Spread.Cell range1;
range1 = fpSpread1.ActiveSheetView.Cells[1, 1, 3, 3];
range1.Value = "Value Here";
range1.Note = "This is the note that describes the value.";
```

```vbnet
Dim range1 As FarPoint.Web.Spread.Cell
range1 = fpSpread1.ActiveSheetView.Cells(1, 1, 3, 3)
range1.Value = "Value Here"
range1.Note = "This is the note that describes the value."
```

## Using the Spread Designer

1. In the work area, select the cell or cells for which you want to set the notes to display.
2. In the properties list (in the **Misc** group), select the **Note** property and type in the text of the note.
    Another way is to select the **Cells** property and click on the button to call up the **Cell, Column, and Row** editor and select the cells in that editor.
3. From the **File** menu choose **Apply and Exit** to apply your changes to the component and exit Spread Designer.