Calc .NET Class Library
Show/Hide TOC

# SearchScope Enumeration

Specifies which parts of a workbook are searched by the find and replace methods.

## Definition

Namespace: Independentsoft.Office.Spreadsheet
Assembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
C#

    [FlagsAttribute]
    public enum SearchScope

VB

    <FlagsAttribute>
    Public Enumeration SearchScope

## Members

Cells | 1 | The text of the cells of all worksheets, including rich text.
Comments | 2 | The comments of all worksheets.
Headers | 4 | The headers of all sheets.
Footers | 8 | The footers of all sheets.
HeadersAndFooters | 12 | The headers and the footers of all sheets.
Shapes | 16 | The text of the shapes of all sheets.
All | 31 | The whole workbook except the formulas.
Formulas | 32 | The formulas of all cells. Formulas are not searched by All because a replacement can make a formula invalid.

## See Also

#### Reference

Independentsoft.Office.Spreadsheet Namespace