Files
help/source/text/sbasic/shared/03040000.xhp
Olivier Hallot 2fd5bacd39 tdf#162226 More VBA constants documented
Change-Id: Ib50cad936aaed928906e439c9303a08590b0bfa3
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/193126
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Tested-by: Jenkins
2025-10-29 00:14:41 +01:00

648 lines
33 KiB
XML

<?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="textsbasicshared03040000xml" indexer="include" status="PUBLISH">
<title id="tit">Basic Constants</title>
<filename>/text/sbasic/shared/03040000.xhp</filename>
</topic>
</meta>
<body>
<section id="basic_constants">
<bookmark branch="index" id="bm_id051720170831387233">
<bookmark_value>Basic constants</bookmark_value>
</bookmark>
<h1 id="hd_id051620171022255424"><variable id="basicconstantsh1"><link href="text/sbasic/shared/03040000.xhp">Basic Constants</link></variable></h1>
<description id="par_id051620171022384640"><ahelp hid=".">Constants used in Basic programs</ahelp></description>
</section>
<section id="booleanconstants">
<bookmark branch="index" id="bm_id871554200620243">
<bookmark_value>Boolean Basic constants</bookmark_value>
<bookmark_value>Basic constant;False</bookmark_value>
<bookmark_value>Basic constant;True</bookmark_value>
</bookmark>
<h2 id="par_id051620171022382581">Boolean constants</h2>
<table id="tbl_051620171030174631">
<tablerow>
<tablecell>
<paragraph id="par_id051620171114565335" role="tablehead">Name</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114565484" role="tablehead">Type</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114563271" role="tablehead">Value</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id051620171114567378" role="paragraph" localize="false"><literal>True</literal></paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114563299" role="paragraph" localize="false">Boolean</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114565603" role="paragraph" localize="false">1</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id051620171114564178" role="paragraph" localize="false"><literal>False</literal></paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114566455" role="paragraph" localize="false">Boolean</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114563986" role="paragraph" localize="false">0</paragraph>
</tablecell>
</tablerow>
</table>
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bascode>
<paragraph id="par_id051620171114567539" role="bascode" localize="false">Dim bPositive as Boolean</paragraph>
<paragraph id="par_id051620171114574976" role="bascode" localize="false">bPositive = True</paragraph>
</bascode>
</section>
<section id="mathconstants">
<bookmark branch="index" id="bm_id131554200364170">
<bookmark_value>Basic Mathematical constants</bookmark_value>
<bookmark_value>Pi;Basic constant</bookmark_value>
<bookmark_value>Basic constant;Pi</bookmark_value>
</bookmark>
<h2 id="hd_id051620171114573549">Mathematical constant</h2>
<table id="tbl_051620171031298215">
<tablerow>
<tablecell>
<paragraph id="par_id051620171114576150" role="tablehead">Name</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114575122" role="tablehead">Type</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114574987" role="tablehead">Value</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id051620171114574028" role="paragraph" localize="false"><literal>Pi</literal></paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114571506" role="paragraph" localize="false">Double</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114576361" role="paragraph" localize="false">3.14159265358979</paragraph>
</tablecell>
</tablerow>
</table>
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bascode>
<paragraph id="par_id051620171114575849" role="bascode" localize="false">Function Rad2Deg( aRad as Double) As Double</paragraph>
<paragraph id="par_id051620171114575132" role="bascode" localize="false"> Rad2Deg = aRad * 180.00 / Pi</paragraph>
<paragraph id="par_id051620171114571381" role="bascode" localize="false">End Function</paragraph>
</bascode>
</section>
<section id="objectconstants">
<bookmark branch="index" id="bm_id261554201061695">
<bookmark_value>Basic Object constants</bookmark_value>
<bookmark_value>Empty;Basic constant</bookmark_value>
<bookmark_value>Null;Basic constant</bookmark_value>
<bookmark_value>Nothing;Basic constant</bookmark_value>
<bookmark_value>Basic constant;Nothing</bookmark_value>
<bookmark_value>Basic constant;Null</bookmark_value>
<bookmark_value>Basic constant;Empty</bookmark_value>
</bookmark>
<h2 id="hd_id051620171114576454">Object Constants</h2>
<table id="tbl_051620171033491648">
<tablerow>
<tablecell>
<paragraph id="par_id051620171114576921" role="tablehead">Name</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114578188" role="tablehead">Type</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051720170824099845" role="tablehead">Usage</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id051620171114575052" role="paragraph" localize="false"><literal>Empty</literal></paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114576734" role="paragraph" localize="false">Variant</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id05172017082409622" role="paragraph">The <emph>Empty</emph> value indicates that the variable is not initialized.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id051620171114577892" role="paragraph" localize="false"><literal>Null</literal></paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051620171114571232" role="paragraph" localize="false">null</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051720170824093395" role="paragraph">Indicates that the variable does not contain data.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id051720170824091253" role="paragraph" localize="false"><literal>Nothing</literal></paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051720170824091966" role="paragraph" localize="false">Object</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id051720170824097935" role="paragraph">Assign the <emph>Nothing</emph> object to a variable to remove a previous assignment.</paragraph>
</tablecell>
</tablerow>
</table>
<embed href="text/sbasic/shared/00000003.xhp#functexample"/>
<bascode>
<paragraph id="par_id051620171114575772" role="bascode" localize="false">SubExampleEmpty</paragraph>
<paragraph id="par_id051620171114572075" role="bascode" localize="false"> Dim sVar As Variant</paragraph>
<paragraph id="par_id051620171114579662" role="bascode" localize="false"> sVar = Empty</paragraph>
<paragraph id="par_id051620171114577052" role="bascode"> Print IsEmpty(sVar) ' Returns True</paragraph>
<paragraph id="par_id051620171114576576" role="bascode" localize="false">End Sub</paragraph>
<paragraph id="par_id051620171114573781" role="bascode" localize="false">Sub ExampleNull</paragraph>
<paragraph id="par_id051620171114584136" role="bascode" localize="false"> Dim vVar As Variant</paragraph>
<paragraph id="par_id05162017111458231" role="bascode" localize="false"> MsgBox IsNull(vVar)</paragraph>
<paragraph id="par_id051620171114581488" role="bascode" localize="false">End Sub</paragraph>
<paragraph id="par_id051720170824102912" role="bascode" localize="false">Sub ExampleNothing</paragraph>
<paragraph id="par_id051720170824104202" role="bascode" localize="false"> Dim oDoc As Object</paragraph>
<paragraph id="par_id051720170824102971" role="bascode" localize="false"> Set oDoc = ThisComponent</paragraph>
<paragraph id="par_id051720170824104997" role="bascode" localize="false"> Print oDoc.Title</paragraph>
<paragraph id="par_id051720170824104443" role="bascode" localize="false"> oDoc = Nothing</paragraph>
<paragraph id="par_id051720170824106132" role="bascode"> Print oDoc ' Error</paragraph>
<paragraph id="par_id051720170824103527" role="bascode" localize="false">End Sub</paragraph>
</bascode>
</section>
<h2 id="hd_id31634909394554">MsgBox Named Constants</h2>
<embed href="text/sbasic/shared/03010102.xhp#MsgBox_constants"/>
<h2 id="hd_id881634911199058">GetAttr Named Constants</h2>
<embed href="text/sbasic/shared/03020409.xhp#GetAttr_constants"/>
<h2 id="hd_id611634911996367">Data Type Named Constants</h2>
<embed href="text/sbasic/shared/03103600.xhp#VarType_constants"/>
<section id="addvbaconstants">
<bookmark branch="index" id="bm_id101554201127393">
<bookmark_value>Visual Basic constants</bookmark_value>
<bookmark_value>VBA Exclusive constants</bookmark_value>
</bookmark>
<h2 id="hd_id661512312593832">Additional VBA constants</h2>
<paragraph role="paragraph" id="par_id111512312705893">The following constants are available when VBA compatibility mode is enabled</paragraph>
<embed href="text/sbasic/shared/00000003.xhp#vbasupport"/>
<section id="vbavartypeconstnts">
<bookmark branch="index" id="bm_id391624288823741">
<bookmark_value>VBA Variable Type Named Constants</bookmark_value>
</bookmark>
</section>
<h3 id="hd_id271761687626127">VBA MsgBox named constants</h3>
<table id="tab_id91761687344772">
<tablerow>
<tablecell>
<paragraph id="par_id201761687884399" role="tablehead">Name</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id401761687884401" role="tablehead">Value</paragraph>
</tablecell>
</tablerow>
<tablerow><tablecell><paragraph id="par_id751761684900830" localize="false" role="tablecontent">vbApplicationModal</paragraph></tablecell><tablecell><paragraph id="par_id731761687433195" localize="false" role="tablecontent">0</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id961761687439020" localize="false" role="tablecontent">vbDefaultButton1</paragraph></tablecell><tablecell><paragraph id="par_id201761687442707" localize="false" role="tablecontent">0</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id641761687449292" localize="false" role="tablecontent">vbOKOnly</paragraph></tablecell><tablecell><paragraph id="par_id81761687453211" localize="false" role="tablecontent">0</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id561761687462195" localize="false" role="tablecontent">vbOKCancel</paragraph></tablecell><tablecell><paragraph id="par_id281761687466386" localize="false" role="tablecontent">1</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id281761687469075" localize="false" role="tablecontent">vbAbortRetryIgnore</paragraph></tablecell><tablecell><paragraph id="par_id741761687474130" localize="false" role="tablecontent">2</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id761761687480642" localize="false" role="tablecontent">vbYesNoCancel</paragraph></tablecell><tablecell><paragraph id="par_id761761687484954" localize="false" role="tablecontent">3</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id841761687487674" localize="false" role="tablecontent">vbYesNo</paragraph></tablecell> <tablecell><paragraph id="par_id781761687490507" localize="false" role="tablecontent">4</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id841761687493170" localize="false" role="tablecontent">vbRetryCancel</paragraph></tablecell> <tablecell><paragraph id="par_id61761687496993" localize="false" role="tablecontent">5</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id591761687501722" localize="false" role="tablecontent">vbCritical</paragraph></tablecell> <tablecell><paragraph id="par_id1001761687506585" localize="false" role="tablecontent">16</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id951761687510593" localize="false" role="tablecontent">vbQuestion</paragraph></tablecell> <tablecell><paragraph id="par_id281761687515707" localize="false" role="tablecontent">32</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id401761687518337" localize="false" role="tablecontent">vbExclamation</paragraph></tablecell> <tablecell><paragraph id="par_id61761687522376" localize="false" role="tablecontent">48</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id151761687525921" localize="false" role="tablecontent">vbInformation</paragraph></tablecell> <tablecell><paragraph id="par_id821761687529680" localize="false" role="tablecontent">64</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id121761687533121" localize="false" role="tablecontent">vbDefaultButton2</paragraph></tablecell> <tablecell><paragraph id="par_id641761687539320" localize="false" role="tablecontent">256</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id601761687542040" localize="false" role="tablecontent">vbDefaultButton3</paragraph></tablecell> <tablecell><paragraph id="par_id441761687544882" localize="false" role="tablecontent">512</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id561761687547528" localize="false" role="tablecontent">vbDefaultButton4</paragraph></tablecell> <tablecell><paragraph id="par_id171761687550176" localize="false" role="tablecontent">768</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id621761687554224" localize="false" role="tablecontent">vbSystemModal</paragraph></tablecell> <tablecell><paragraph id="par_id171761687557392" localize="false" role="tablecontent">4096</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id71761687561840" localize="false" role="tablecontent">vbMsgBoxHelpButton</paragraph></tablecell> <tablecell><paragraph id="par_id91761687564704" localize="false" role="tablecontent">16384</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id121761687567480" localize="false" role="tablecontent">vbMsgBoxSetForeground</paragraph></tablecell> <tablecell><paragraph id="par_id761761687570056" localize="false" role="tablecontent">65536</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id661761687572745" localize="false" role="tablecontent">vbMsgBoxRight</paragraph></tablecell> <tablecell><paragraph id="par_id911761687575583" localize="false" role="tablecontent">524288</paragraph></tablecell></tablerow>
<tablerow><tablecell><paragraph id="par_id271761687578065" localize="false" role="tablecontent">vbMsgBoxRtlReading</paragraph></tablecell> <tablecell><paragraph id="par_id541761687581215" localize="false" role="tablecontent">1048576</paragraph></tablecell></tablerow>
</table>
<h3 id="hd_id941628842567829">VBA Color Named Constants</h3>
<table id="tab_id691634907471277">
<tablerow>
<tablecell>
<paragraph id="par_id611634907471277" role="tablehead">Named constant</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id861634907471277" role="tablehead">Red, Green, Blue<br/>composition</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id131634907471277" role="tablecontent" localize="false">vbBlack</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id561634907471277" role="tablecontent" localize="false">RGB(0, 0, 0)</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id421634907638611" role="tablecontent" localize="false">vbBlue</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id611634907688162" role="tablecontent" localize="false">RGB(0, 0, 255)</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id551634907874363" role="tablecontent" localize="false">vbCyan</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id521634907949411" role="tablecontent" localize="false">RGB(0, 255, 255)</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id891634907875500" role="tablecontent" localize="false">vbGreen</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id841634907957172" role="tablecontent" localize="false">RGB(0, 255, 0)</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id971634907876196" role="tablecontent" localize="false">vbMagenta</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id501634907977490" role="tablecontent" localize="false">RGB(255, 0, 255)</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id941634907876844" role="tablecontent" localize="false">vbRed</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id501634907984434" role="tablecontent" localize="false">RGB(255, 0, 0)</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id351634907877572" role="tablecontent" localize="false">vbYellow</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id681634907989235" role="tablecontent" localize="false">RGB(255, 255, 0)</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id431634907878140" role="tablecontent" localize="false">vbWhite</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id621634907995939" role="tablecontent" localize="false">RGB(255, 255, 255)</paragraph>
</tablecell>
</tablerow>
</table>
<h3 id="hd_id941624288567829">Variable Type Named Constants</h3>
<table id="tab_id761624288363725">
<tablerow>
<tablecell>
<paragraph id="par_id31624288363725" role="tablehead">Named constant</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id951624288363725" role="tablehead">Decimal value</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id151624288186788" role="tablecontent" localize="false">vbArray</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id961624288191678" role="tablecontent" localize="false">8192</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id361624288198006" role="tablecontent" localize="false">vbBoolean</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id701624288202471" role="tablecontent" localize="false">11</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id581624288207631" role="tablecontent" localize="false">vbByte</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id781624288212801" role="tablecontent" localize="false">17</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id861624288218272" role="tablecontent" localize="false">vbCurrency</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id371624288223017" role="tablecontent" localize="false">6</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id631624288229041" role="tablecontent" localize="false">vbDataObject</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id641624288233002" role="tablecontent" localize="false">13</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id571624288236875" role="tablecontent" localize="false">vbDate</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id1001624288241059" role="tablecontent" localize="false">7</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id571624288244739" role="tablecontent" localize="false">vbDecimal</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id991624288247923" role="tablecontent" localize="false">14</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id391624288251107" role="tablecontent" localize="false">vbDouble</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id831624288256005" role="tablecontent" localize="false">5</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id651624288258973" role="tablecontent" localize="false">vbEmpty</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id681624288262413" role="tablecontent" localize="false">0</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id541624288266590" role="tablecontent" localize="false">vbError</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id801624288270239" role="tablecontent" localize="false">10</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id311624288273447" role="tablecontent" localize="false">vbInteger</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id661624288277319" role="tablecontent" localize="false">2</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id261624288293466" role="tablecontent" localize="false">vbLong</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id301624288282609" role="tablecontent" localize="false">3</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id51624288297226" role="tablecontent" localize="false">vbNull</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id321624288301819" role="tablecontent" localize="false">1</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id21624288307523" role="tablecontent" localize="false">vbObject</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id91624288311180" role="tablecontent" localize="false">9</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id991624288314316" role="tablecontent" localize="false">vbSingle</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id131624288318340" role="tablecontent" localize="false">4</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id561624288321052" role="tablecontent" localize="false">vbString</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id41624288325309" role="tablecontent" localize="false">8</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id951624288329278" role="tablecontent" localize="false">vbUserDefinedType</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id861624288332301" role="tablecontent" localize="false">36</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id171624288336183" role="tablecontent" localize="false">vbVariant</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id451624288339448" role="tablecontent" localize="false">12</paragraph>
</tablecell>
</tablerow>
</table>
<h3 id="hd_id881634911195890">FormatDateTime VBA Named Constants</h3>
<embed href="text/sbasic/shared/03150000.xhp#FormatDateTime_constants"/>
<h3 id="hd_id801634912153888">StrConv VBA Named Constants</h3>
<embed href="text/sbasic/shared/strconv.xhp#StrConv_constants"/>
<h3 id="hd_id131634910758620">WeekDayName VBA Named Constants</h3>
<embed href="text/sbasic/shared/03030105.xhp#WeekDay_constants"/>
<h3 id="hd_id531634913323423">Miscellaneous VBA Named Constants</h3>
<table id="tab_id671512313939217">
<tablerow>
<tablecell>
<paragraph role="tablehead" id="par_id901512312880723">Named constant</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id891512312916493" role="tablehead">Hexadecimal (decimal) value</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id991512312965968" role="tablehead">Description</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id311542196872466" role="paragraph" localize="false">vbTrue</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id151542196872467" role="paragraph" localize="false">-1</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id671542197262160">Part of vbTriState enumeration.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id241542196923343" role="paragraph" localize="false">vbFalse</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id611542196923343" role="paragraph" localize="false">0</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id351542197255532">Part of vbTriState enumeration.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id551542196949698" role="paragraph" localize="false">vbUseDefault</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id831542196949698" role="paragraph" localize="false">-2</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id251542197274514">Part of vbTriState enumeration.</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id891512313266496" role="paragraph" localize="false">vbCr</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id241512313723033" localize="false">\x0D (13)</paragraph>
</tablecell>
<tablecell>
<paragraph role="paragraph" id="par_id611512313731233">CR - Carriage return</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id471512313282257" role="paragraph" localize="false">vbCrLf</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id691512313750520" role="paragraph" localize="false">\x0D\x0A (13 10)</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id961512313881937" role="paragraph">CRLF - Carriage return and line feed</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id11512313289164" role="paragraph" localize="false">vbFormFeed</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id341512313761295" role="paragraph" localize="false">\x0c (12)</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id221512313889077" role="paragraph">FF - Form feed</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id501512313293989" role="paragraph" localize="false">vbLf</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id311512313777558" role="paragraph" localize="false">\x0A (10)</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id621512313896169" role="paragraph">LF - Line feed</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id191512313300610" role="paragraph" localize="false">vbNewLine</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id521512319135830" role="listitem">\x0D\x0A (13 10) for Windows</paragraph>
<paragraph id="par_id61512319163913" role="listitem">\x0A (10) for other systems</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id151512313904989" role="paragraph">LF or CRLF </paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id211512313306932" role="paragraph" localize="false">vbNullString</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id141512313800110" role="paragraph" localize="false">""</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id741512313911049" role="paragraph">Null string</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id931512313312621" role="paragraph" localize="false">vbTab</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id241512313810064" role="paragraph" localize="false">\x09 (9)</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id951512313918356" role="paragraph">HT - Horizontal tab</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell>
<paragraph id="par_id481512313318983" role="paragraph" localize="false">vbVerticalTab </paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id991512313821414" role="paragraph" localize="false">\x0B (11)</paragraph>
</tablecell>
<tablecell>
<paragraph id="par_id351512313924593" role="paragraph">VT - Vertical tab</paragraph>
</tablecell>
</tablerow>
</table>
</section>
</body>
</helpdocument>