Skip to main content
Skip table of contents

EXPANDCOMPANYRANGE

Overview

The EXPANDCOMPANYRANGE function returns all company codes within the specified range

Velixo recommends the use of Microsoft 365 for this feature. Experimentally, Excel 2010 or higher may be used. See the Prerequisites for additional information.

Syntax

CODE
=EXPANDCOMPANYRANGE(Connection, Range)

Arguments

The EXPANDCOMPANYRANGE 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 company codes to include in the results

Examples

Example 1

CODE
=EXPANDCOMPANYRANGE("Demo")


Description
Returns an Excel dynamic array containing all company codes in the tenant defined in the specified connection.

Result

exp_company.png

Example 2

CODE
=EXPANDCOMPANYRANGE("Demo";"*;-PRODUCTS")


Description
Returns all company codes except PRODUCTS.

Result

exp_company2.png

JavaScript errors detected

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

If this problem persists, please contact our support.