Skip to main content
Skip table of contents

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

CODE
=EXPANDSUBACCOUNTRANGE(Connection, Range, IncludeInactive)

Arguments

The EXPANDSUBACCOUNTRANGE function uses the following arguments (see our article on Filtering Velixo functions):

Argument

Required/Optional

Description

Connection

Required

The name of the connection as configured in the Connection Manager

Range

Optional

The range of sub-account codes to include in the results

IncludeInactive

Optional

TRUE / FALSE indicating whether or not to include inactive sub-account codes (default is TRUE)

Example

CODE
=EXPANDSUBACCOUNTRANGE("demo","000000:000WHS",FALSE)


Description
Returns all Active general ledger sub-account codes between 000000 and 000WHS (inclusive).

Result

exp_subacct.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.