# Allowing the User to Perform an Advanced Search

Learn how to customize advanced search dialog for end-users in the spreadsheet, including cell notes and tags with SearchWithDialogAdvanced methods.

## Content

You can provide a more advanced search dialog for the end-users to allow them to search other areas of the spreadsheet, including cell notes and cell tags.
![Advanced Search Dialog](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/searchdialogadv01.png)
There are several advanced options you can set that extend the scope of the search. The advanced options include:

* Include cell text- searches the row and column cells.
* Include cell tags- searches the cell tags in the data area.
* Include cell notes- searches the cell notes in the data area.

For information about performing a search with the search dialog with the standard options, refer to [Allowing the User to Perform a Standard Search](/spreadnet/docs/latest/online-win/overview/spwin-devguide/spwin-interact-rowcol/spwin-datasearch/spwin-searchdialog).

## Using Code

Use the [SearchWithDialogAdvanced](/spreadnet/api/latest/online-win/FarPoint.Win.Spread/FarPoint.Win.Spread.FpSpread.SearchWithDialogAdvanced.html) methods for the [FpSpread](/spreadnet/api/latest/online-win/FarPoint.Win.Spread/FarPoint.Win.Spread.FpSpread.html) component to customize the advanced search dialog.

## Example

This example uses the [SearchWithDialogAdvanced](/spreadnet/api/latest/online-win/FarPoint.Win.Spread/FarPoint.Win.Spread.FpSpread.SearchWithDialogAdvanced.html) method and provides the users a search dialog with several settings preset.

```csharp
fpSpread1.SearchWithDialogAdvanced(0,4,"This",true,true,false,false,0,0);
```

```vbnet
fpSpread1.SearchWithDialogAdvanced(0,4,"This",True,True,False,False,0,0)
```

## See Also

[Allowing the User to Perform a Standard Search](/spreadnet/docs/latest/online-win/overview/spwin-devguide/spwin-interact-rowcol/spwin-datasearch/spwin-searchdialog)
[Searching for Data with Code](/spreadnet/docs/latest/online-win/overview/spwin-devguide/spwin-interact-rowcol/spwin-datasearch/spwin-datasearchplain)