XL.Sheet.RemoveDataValidations
------------------------------

Removes all data validations for the sheet.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XL](component_XL.md) | [10.5](newinversion105.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XL.Sheet.RemoveDataValidations"; BookRef; SheetIndex ) 

**MBS**( **"XL.Sheet.RemoveDataValidations";** /\* Removes all data validations for the sheet. \*/  
**$BookRef**; /\* The reference number for the workbook.e.g. $ref \*/   
**$SheetIndex**) /\* The index of the sheet to delete. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1.e.g. 0 \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| SheetIndex | The index of the sheet to delete. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1. | 0 |

### Result

Returns OK or error.

### Description

Removes all data validations for the sheet.  
Only for xlsx files.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Sheet.AddDataValidation](XLSheetAddDataValidation.md)
- [XL.Sheet.DataValidations](XLSheetDataValidations.md)

### Release notes

- **Version 10.5**
    - Added [XL.Sheet.AddDataValidation](https://www.mbsplugins.eu/XLSheetAddDataValidation.shtml) and [XL.Sheet.RemoveDataValidations](https://www.mbsplugins.eu/XLSheetRemoveDataValidations.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 10.5](https://www.mbsplugins.de/archive/2020-11-23/New_in_MBS_FileMaker_Plugin_10/monkeybreadsoftware_blog_filemaker)
- [Neues MBS FileMaker Plugin 10.5 - Über 6400 Funktionen in einem Plugin](https://www.mbsplugins.de/archive/2020-11-17/Neues_MBS_FileMaker_Plugin_105/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 10.5 - More than 6400 Functions In One Plugin](https://www.mbsplugins.de/archive/2020-11-17/MBS_FileMaker_Plugin_105_-_Mor/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 10.5pr7](https://www.mbsplugins.de/archive/2020-11-02/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 30th October 2020 , last changed 30th October 2020

  
[XL.Sheet.RemoveConditionalFormatting](XLSheetRemoveConditionalFormatting.md) - [XL.Sheet.RemoveFilter](XLSheetRemoveFilter.md)

[HTML Version](XLSheetRemoveDataValidations.shtml)