| Visual Basic (Declaration) | |
|---|---|
Public Overloads Sub SetColumnAllowFilter( _ ByVal column As Integer, _ ByVal count As Integer, _ ByVal allowFilter As Boolean _ )  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As SheetView Dim column As Integer Dim count As Integer Dim allowFilter As Boolean instance.SetColumnAllowFilter(column, count, allowFilter)  | |
Parameters
- column
 - Column index of first column to set
 - count
 - Number of columns to set
 - allowFilter
 - Whether to allow filtering for the specified columns
 
| Exception | Description | 
|---|---|
| System.ArgumentOutOfRangeException | Specified column index is out of range; must be between -1 and the total number of columns | 
The default is for columns not to allow filtering.
            
            
            
            
            Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8