Z9NfM‖Exclusive VBA functions

Contents
pXcmP‖

# Y45G8‖Exclusive VBA Functions and Statements

2kkjB‖LibreOffice Basic adds this set of functions when VBA support is enabled.

kWXYG‖These exclusive VBA functions are enabled when the statement Option VBASupport 1 is placed before the first macro of a LibreOffice Basic module.

hWvRQ‖

## BofRD‖VBA Statements

## 7oWmd‖Option ClassModule Statement

4MQj9‖Specifies that the module is a class module that contains members, properties, procedures and functions.

## dLDx6‖Option VBASupport Statement

Cp5GM‖Specifies that LibreOffice Basic will support some VBA statements, functions and objects.

## 7dbBy‖Enum Statement [VBA]

nCNts‖Define enumerations or non UNO constant groups. An enumeration is a value list that facilitates programming and eases code logic review.

ytqmv‖

## Dy4pB‖Text functions

## 4NGHc‖AscW Function [VBA]

XujWF‖Returns the Unicode value of the first character in a string expression.

## agcrG‖ChrW Function [VBA]

yFpZL‖Returns the Unicode character that corresponds to the specified character code.

## 7KMBe‖InStrRev Function [VBA]

pwqFT‖Returns the position of a string within another string, starting from the right side of the string.

## 6dxWE‖StrReverse Function [VBA]

HnA2J‖Returns the string with the character order reversed.

## 3m7hv‖StrConv Function

V3uyt‖Convert a string as specified by a conversion type.

wFBZb‖

## k8m4D‖Financial functions

## LiiR8‖DDB Function [VBA]

rGkXG‖Returns the depreciation of an asset for a specified period using the arithmetic-declining method.

## MUt9s‖FV Function [VBA]

xLDE6‖Returns the future value of an investment based on periodic, constant payments and a constant interest rate (Future Value).

## 7c9dy‖IPmt Function [VBA]

NhJBQ‖Calculates the periodic amortizement for an investment with regular payments and a constant interest rate.

## Aiorb‖IRR Function [VBA]

GC4DC‖Calculates the internal rate of return for an investment.

## hjGpR‖MIRR Function [VBA]

iEx4J‖Calculates the modified internal rate of return of a series of investments.

## ciLD9‖NPer Function [VBA]

SExLZ‖Calculates the number of periods for a loan or investment.

## EG2GA‖NPV Function [VBA]

TFoMM‖Calculates the Net Present Value of an investment, based on a supplied discount rate, and a series of deposits and withdrawals.

## CB4yD‖Pmt Function [VBA]

rtk8j‖Calculates the constant periodic payments for a loan or investment.

## znLCY‖PPmt Function [VBA]

rqzFy‖Returns for a given period the payment on the principal for an investment that is based on periodic and constant payments and a constant interest rate.

## U7pfn‖PV Function [VBA]

W2mK8‖Returns the Present Value of an investment resulting from a series of regular payments.

## jLrMj‖Rate Function [VBA]

wd5A3‖Returns the interest rate of a loan or an investment.

## 6AwFn‖SLN Function [VBA]

ikzyz‖Returns the straight-line depreciation of an asset for one period. The amount of the depreciation is constant during the depreciation period.

## ydHGN‖SYD Function [VBA]

MAefZ‖Returns the arithmetic-declining depreciation rate.

sEjTT‖

## bcMGY‖Date and time functions

## ioqgs‖FormatDateTime Function [VBA]

EFKxm‖Applies a date and/or time format to a date expression and returns the result as a string.

## awMU4‖MonthName Function [VBA]

zW82k‖The MonthName function returns the localized month name of a specified month number.

## Tsx48‖WeekdayName Function [VBA]

cApru‖The WeekdayName function returns the weekday name of a specified day of the week.

NEsXU‖

## HEWuk‖I/O Functions

## 5rfjC‖Input Function [VBA]

FGDak‖Returns the open stream of an Input or Binary file (String).

## D8GuJ‖ExportAsFixedFormat Method [VBA]

vMsGC‖Method to export a Calc document to PDF format.

AsBGC‖

## AXMSu‖Mathematical Functions

## GNHFQ‖Round Function [VBA]

B6tFP‖Rounds a numeric value to a specified number of decimal digits.

## NUyRb‖FormatNumber [VBA]

GEgN3‖Returns a string with a number formatting applied to a numeric expression.

## 5GSq4‖FormatPercent [VBA]

wE9n7‖Returns a string with a number formatting applied to a numeric expression. A percent sign is appended to the returned string.

## B7UPn‖Partition Function [VBA]

LDTcg‖Returns a string indicating where a number occurs within a calculated series of ranges.

G2UxD‖

## puram‖Object Properties and Methods

## AENEA‖Err Object [VBA]

RZpQL‖Use VBA Err object to raise or handle runtime errors.

Related Topics

9k44V‖VBA support in LibreOffice

XtgXo‖VBA Properties

VBA supported Data Model

Option VBASupport Statement

Please support us!