---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/workbookvalidator
---

# WorkbookValidator

## Overview

`WorkbookValidator` is a class in Aspose.Cells FOSS for C++.

Represents workbook validator.

This class declares 1 method for WorkbookValidator objects in C++ programs.
Available methods include: `ValidateForSave`.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

## Methods

| Signature | Description |
|-----------|-------------|
| `ValidateForSave(workbookModel: CellValue, packageModel: CellValue)` → `std::vector<ValidationMessage>` | Validates the current state. The workbook model. The package model. The validation message list. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)