EXPANDSUBACCOUNTRANGE
Overview
The EXPANDSUBACCOUNTRANGE function returns all general ledger sub-account codes within the specified range
Velixo recommends the use of Microsoft 365 or Excel 2021 or higher for this feature. Experimentally, Excel 2010 or higher can be used. See the Prerequisites for additional information.
Syntax
=EXPANDSUBACCOUNTRANGE(Connection, Range, IncludeInactive)
Arguments
The EXPANDSUBACCOUNTRANGE function uses the following arguments (see our article on Filtering Velixo functions):
Argument | Required/Optional | Description |
| Required | The name of the connection as configured in the Connection Manager |
| Optional | The range of sub-account codes to include in the results |
| Optional |
|
Example
=EXPANDSUBACCOUNTRANGE("demo","000000:000WHS",FALSE)
Description
Returns all Active general ledger sub-account codes between 000000 and 000WHS (inclusive).
Result
