blob: 12d68f22e026a5bd146e61a011f102b81fad2b8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
<?xml version="1.0" encoding="UTF-8"?>
<helpdocument version="1.0">
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<meta>
<topic id="textsbasicsharedspecial_vba_funcxml">
<title id="tit" xml-lang="en-US">Exclusive VBA functions</title>
<filename>/text/sbasic/shared/special_vba_func.xhp</filename>
</topic>
</meta>
<body>
<section id="exclusive_vba_functions">
<bookmark xml-lang="en-US" branch="index" id="bm_id051920170350145208">
<bookmark_value>VBA Functions</bookmark_value>
</bookmark>
<paragraph id="hd_id051820170313205718" role="heading" level="1" xml-lang="en-US"><variable id="exclusivevba"><link href="text/sbasic/shared/special_vba_func.xhp">Exclusive VBA functions</link></variable></paragraph>
<paragraph id="par_id051820170314436068" role="paragraph" xml-lang="en-US"><ahelp hid=".">%PRODUCTNAME Basic adds this set of functions when VBA support is enabled</ahelp></paragraph>
</section>
<paragraph id="hd_id051820170407499827" role="paragraph" xml-lang="en-US">These exclusive VBA functions are enabled when <item type="literal">Option VBASupport 1</item> is the first line of a %PRODUCTNAME Basic module. </paragraph>
<bookmark xml-lang="en-US" branch="index" id="bm_id05192017035621676">
<bookmark_value>VBA Functions;Text Functions</bookmark_value>
</bookmark>
<paragraph id="par_id051820170355592834" role="heading" level="3" xml-lang="en-US">Text functions</paragraph>
<list type="unordered">
<listitem>
<paragraph id="par_id051820170314431250" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03120111.xhp">AscW</link></paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170331279953" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03120112.xhp">ChrW</link></paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170331274373" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03120411.xhp">InStrRev</link></paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335291322" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03120412.xhp">StrReverse</link></paragraph>
</listitem></list>
<bookmark xml-lang="en-US" branch="index" id="bm_id051920170357078705">
<bookmark_value>VBA Functions;Financial Functions</bookmark_value>
</bookmark>
<paragraph id="par_id051820170355592581" role="heading" level="3" xml-lang="en-US">Financial functions</paragraph>
<list type="unordered">
<listitem>
<paragraph id="par_id051820170331271603" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03140000.xhp">DDB</link></paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170331278736" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03140001.xhp">FV</link></paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170331278779" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03140002.xhp">IPmt</link></paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335282035" role="paragraph" localize="false" xml-lang="en-US"><link href="text/sbasic/shared/03140003.xhp">IRR</link></paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335284205" role="paragraph" localize="false" xml-lang="en-US">MIRR</paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335297182" role="paragraph" localize="false" xml-lang="en-US">NPer</paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335299474" role="paragraph" localize="false" xml-lang="en-US">NPV</paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335299272" role="paragraph" localize="false" xml-lang="en-US">Pmt</paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335298807" role="paragraph" localize="false" xml-lang="en-US">PPmt</paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335294050" role="paragraph" localize="false" xml-lang="en-US">PV</paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335292174" role="paragraph" localize="false" xml-lang="en-US">Rate</paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335295504" role="paragraph" localize="false" xml-lang="en-US">SLN</paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335294432" role="paragraph" localize="false" xml-lang="en-US">SYD</paragraph>
</listitem></list>
<bookmark xml-lang="en-US" branch="index" id="bm_id051920170357347041">
<bookmark_value>VBA Functions;Date and Time Functions</bookmark_value>
</bookmark>
<paragraph id="par_id051820170356005357" role="heading" level="3" xml-lang="en-US">Date and time functions</paragraph>
<list type="unordered">
<listitem>
<paragraph id="par_id051820170331271717" role="paragraph" localize="false" xml-lang="en-US">FormatDateTime</paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335292276" role="paragraph" localize="false" xml-lang="en-US">WeekdayName</paragraph>
</listitem></list>
<bookmark xml-lang="en-US" branch="index" id="bm_id051920170358002074">
<bookmark_value>VBA Functions;I/O Functions</bookmark_value>
</bookmark>
<paragraph id="par_id051820170356006501" role="heading" level="3" xml-lang="en-US">I/O Functions</paragraph>
<list type="unordered">
<listitem>
<paragraph id="par_id05182017033127432" role="paragraph" localize="false" xml-lang="en-US">Input</paragraph>
</listitem></list>
<bookmark xml-lang="en-US" branch="index" id="bm_id051920170358346963">
<bookmark_value>VBA Functions;Mathematical Functions</bookmark_value>
</bookmark>
<paragraph id="par_id051820170356005221" role="heading" level="3" xml-lang="en-US">Mathematical Functions</paragraph>
<list type="unordered">
<listitem>
<paragraph id="par_id051820170335293060" role="paragraph" localize="false" xml-lang="en-US">Round</paragraph>
</listitem></list>
<bookmark xml-lang="en-US" branch="index" id="bm_id051920170359045662">
<bookmark_value>VBA Functions;Object Functions</bookmark_value>
</bookmark>
<paragraph id="hd_id051920170347039686" role="heading" level="3" xml-lang="en-US">Object Functions</paragraph>
<list type="unordered">
<listitem>
<paragraph id="par_id051820170335289499" role="paragraph" localize="false" xml-lang="en-US">Me</paragraph>
</listitem>
<listitem>
<paragraph id="par_id051820170335293856" role="paragraph" localize="false" xml-lang="en-US">RTL</paragraph>
</listitem></list>
</body>
</helpdocument>
|