Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
XL.Sheet.AutoFilter.SetTop10
Sets the number of top or bottom items.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| XL | 7.3 | Yes | Yes | Yes | Yes | Yes |
MBS( "XL.Sheet.AutoFilter.SetTop10"; bookRef; sheetIndex; FilterColumnIndex; Value; Top; Percent ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref |
| sheetIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 |
| FilterColumnIndex | The column index of the filter. Range from 0 to XL.Sheet.AutoFilter.ColumnSize-1. |
$FilterColumn |
| Value | Number of items | |
| Top | Pass 1 to get top items or 0 for bottom items. | 1 |
| Percent | Pass 1 for percent values. | 1 |
Result
Returns OK or error.
Description
Sets the number of top or bottom items.See also
- XL.Book.SheetCount
- XL.LoadBook
- XL.Sheet.AutoFilter
- XL.Sheet.AutoFilter.ColumnSize
- XL.Sheet.AutoFilter.FilterType
- XL.Sheet.AutoFilter.GetRef
- XL.Sheet.AutoFilter.GetSort
- XL.Sheet.AutoFilter.GetTop10
- XL.Sheet.AutoFilter.SetRef
- XL.Sheet.AutoFilter.SetSort
Created 1st July 2017, last changed 1st July 2017
XL.Sheet.AutoFilter.SetSort - XL.Sheet.CellIsDate
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins