XL.Book.Version
---------------

Queries version of XL library.

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

MBS( "XL.Book.Version" { ; BookRef } ) 

**MBS**( **"XL.Book.Version";** /\* Queries version of XL library. \*/  
**$BookRef**) /\* Optional; The reference to the workbook.e.g. $ref \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| BookRef | The reference to the workbook. | $ref | Optional |

### Result

Returns number or error.

### Description

Queries version of XL library.  
### Examples

Query version of LibXL:

 Set Variable \[ $book ; Value: MBS ( "[XL.NewBook](XLNewBook.md)" ) \]   
Set Variable \[ $version ; Value: MBS ( "XL.Book.Version"; $book ) \]   
Set Variable \[ $r ; Value: MBS ( "[XL.Book.Release](XLBookRelease.md)"; $book ) \]   
Show Custom Dialog \[ "Version" ; $version \]  
### See also

- [Version](Version.md)
- [XL.Book.BiffVersion](XLBookBiffVersion.md)
- [XL.Book.Release](XLBookRelease.md)
- [XL.NewBook](XLNewBook.md)

### Release notes

- **Version 14.3**
    - Changed [XL.Book.Version](https://www.mbsplugins.eu/XLBookVersion.shtml) to have the book parameter optional.
- **Version 8.2**
    - Fixed [XL.Book.Version](http://www.mbsplugins.eu/XLBookVersion.shtml) to return version formatted.

### Blog Entries

- [MBS FileMaker Plugin, version 14.3pr1](https://www.mbsplugins.de/archive/2024-06-03/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 8.2pr1](https://www.mbsplugins.de/archive/2018-04-04/MBS_FileMaker_Plugin_version_8/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 22nd April 2017 , last changed 26th June 2024

  
[XL.Book.Sheets](XLBookSheets.md) - [XL.Color.Pack](XLColorPack.md)

[HTML Version](XLBookVersion.shtml)