DBTable.SortDataEx

Extended Sort Data. Defaults to all variables, ascending order, sort by numeric value, and inline update.

Syntax Parameters Return Value
Function DBTable.SortDataEx( _
    Optional Variables As Variant = 0, _
    Optional Direction As Variant = scSortAscending, _
    Optional By As Variant = scSortByNumeric, _
    Optional MakeNewSpreadsheet As Boolean = False, _
    Optional CopyFormatting As Boolean = True) As Spreadsheet
  • Variables [in, optional]

    Type: Variant

    Default value: 0

  • Direction [in, optional]

    Type: Variant

    Default value: scSortAscending

  • By [in, optional]

    Type: Variant

    Default value: scSortByNumeric

  • MakeNewSpreadsheet [in, optional]

    Type: Boolean

    Default value: False

  • CopyFormatting [in, optional]

    Type: Boolean

    Default value: True

Spreadsheet