<?xml version="1.0" encoding="UTF-8"?> <!-- * 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 . --> <helpdocument version="1.0"> <meta> <topic id="textsbasicshared03100080xhp" indexer="include" status="PUBLISH"> <title id="tit" xml-lang="en-US">CVErr Function</title> <filename>/text/sbasic/shared/03100080.xhp</filename> </topic> <history> <created date="2005-04-25T11:37:22">CVErr</created> </history> </meta> <body> <section id="cverr"> <bookmark xml-lang="en-US" branch="index" id="bm_id531022"><bookmark_value>CVErr function</bookmark_value> </bookmark> <h1 id="par_idN1054B"><variable id="CvErrh1"><link href="text/sbasic/shared/03100080.xhp">CVErr Function</link></variable></h1> <paragraph role="paragraph" id="par_idN1055B">Converts a string expression or numeric expression to a variant expression of the sub type "Error".</paragraph> </section> <h2 id="par_idN1055E">Syntax:</h2> <bascode> <paragraph role="bascode" id="par_idN10562">CVErr(Expression)</paragraph> </bascode> <h2 id="par_idN10565">Return value:</h2> <paragraph role="paragraph" id="par_idN10569">Variant.</paragraph> <h2 id="par_idN1056C">Parameter:</h2> <paragraph role="paragraph" id="par_idN10570">Expression: Any string or numeric expression that you want to convert.</paragraph> <section id="relatedtopics"> <embed href="text/sbasic/shared/03050000.xhp#ErrHandlingh1"/> </section> </body> </helpdocument>