1<?xml version="1.0" encoding="UTF-8"?> 2<helpdocument version="1.0"> 3 4<!-- 5 * This file is part of the LibreOffice project. 6 * 7 * This Source Code Form is subject to the terms of the Mozilla Public 8 * License, v. 2.0. If a copy of the MPL was not distributed with this 9 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 10 * 11 * This file incorporates work covered by the following license notice: 12 * 13 * Licensed to the Apache Software Foundation (ASF) under one or more 14 * contributor license agreements. See the NOTICE file distributed 15 * with this work for additional information regarding copyright 16 * ownership. The ASF licenses this file to you under the Apache 17 * License, Version 2.0 (the "License"); you may not use this file 18 * except in compliance with the License. You may obtain a copy of 19 * the License at http://www.apache.org/licenses/LICENSE-2.0 . 20 --> 21 22 23<meta> 24<topic id="textscalc0104070100xml" indexer="include"> 25<title id="tit">Define Names</title> 26<filename>/text/scalc/01/04070100.xhp</filename> 27</topic> 28</meta> 29<body> 30<bookmark branch="hid/.uno:AddName" id="bm_id721702666245648" localize="false"/> 31<bookmark branch="hid/modules/scalc/ui/definename/DefineNameDialog" id="bm_id3155922" localize="false"/> 32<bookmark branch="hid/modules/scalc/ui/definename/@@nowidget@@" id="bm_id3155922" localize="false"/> 33 34<section id="definenames"> 35 <h1 id="hd_id3156330"><variable id="define_names_h1"><link href="text/scalc/01/04070100.xhp">Define Names</link></variable></h1> 36 <paragraph role="paragraph" id="par_id3154366"><variable id="namenfestlegentext"><ahelp hid=".uno:DefineName">Opens a dialog where you can specify a name for a selected area or a name for a formula expression.</ahelp></variable></paragraph> 37</section> 38 39<paragraph role="paragraph" id="par_id3154123">Use the mouse to define ranges or type the reference into the <emph>Define Name </emph>dialog fields.</paragraph> 40<section id="howtoget"> 41<embed href="text/scalc/00/00000404.xhp#define_name"/> 42</section> 43<paragraph role="paragraph" id="par_id3155131">The <menuitem>Name Box</menuitem> on the Formula bar contains a list of defined names for the ranges or formula expressions and their scope between parenthesis. Click a name from this box to highlight the corresponding reference on the spreadsheet. Names given formulas or parts of a formula are not listed here.</paragraph> 44<bookmark branch="hid/modules/scalc/ui/definename/edit" id="bm_id3151114" localize="false"/> 45<section id="h2name"> 46 <h2 id="hd_id3151118">Name</h2> 47 <paragraph role="paragraph" id="par_id3163712"><ahelp hid=".">Enter the name of the area for which you want to define a reference or a formula expression.</ahelp> All area names already defined in the spreadsheet are listed in the text field above. If you click a name on the list, the corresponding reference in the document will be shown with a blue frame. If multiple cell ranges belong to the same area name, they are displayed with different colored frames.</paragraph> 48</section> 49 50<bookmark branch="hid/modules/scalc/ui/definename/range" id="bm_id3145750" localize="false"/> 51<section id="h2range"> 52 <h2 id="hd_id3153728">Range or formula expression</h2> 53 <paragraph role="paragraph" id="par_id3147435"><ahelp hid=".">The reference of the selected area name is shown here as an absolute value.</ahelp></paragraph> 54 <paragraph role="paragraph" id="par_id3146986">To insert a new area reference, place the cursor in this field and use your mouse to select the desired area in any sheet of your spreadsheet document. To insert a new named formula, type the formula expression.</paragraph> 55 <embed href="text/shared/00/00000001.xhp#shrink_maximize"/> 56</section> 57 58<bookmark branch="hid/modules/scalc/ui/definename/scope" id="bm_id3148455" localize="false"/> 59<section id="h2scope"> 60 <h2 id="hd_id31547290">Scope</h2> 61 <paragraph role="paragraph" id="hd_id31547291"><ahelp hid=".">Select the scope of the named range or named formula. Document (Global) means the name is valid for the whole document.</ahelp> Any other sheet name selected will restrict the scope of the named range or formula expression to that sheet. </paragraph> 62</section> 63 64<bookmark branch="hid/modules/scalc/ui/definename/more" id="bm_id3148457" localize="false"/> 65 66<section id="h2options"> 67 <h2 id="hd_id3154729">Range options</h2> 68 <paragraph role="paragraph" id="par_id3149958"><ahelp hid=".">Allows you to specify the <emph>Area type</emph> (optional) for the reference.</ahelp></paragraph> 69 <paragraph role="paragraph" id="par_id3155416">Defines additional options related to the type of reference area.</paragraph> 70 <bookmark branch="hid/modules/scalc/ui/definename/printarea" id="bm_id3146972" localize="false"/> 71 <h3 id="hd_id3150716">Print range</h3> 72 <paragraph role="paragraph" id="par_id3150751"><ahelp hid=".">Defines the area as a print range.</ahelp></paragraph> 73 <bookmark branch="hid/modules/scalc/ui/definename/filter" id="bm_id3155446" localize="false"/> 74 <h3 id="hd_id3153764">Filter</h3> 75 <paragraph role="paragraph" id="par_id3155766"><ahelp hid=".">Defines the selected area to be used in an <link href="text/scalc/01/12040300.xhp">advanced filter</link>.</ahelp></paragraph> 76 <bookmark branch="hid/modules/scalc/ui/definename/colheader" id="bm_id3147344" localize="false"/> 77 <h3 id="hd_id3159267">Repeat column</h3> 78 <paragraph role="paragraph" id="par_id3149565"><ahelp hid=".">Defines the area as a repeating column.</ahelp></paragraph> 79 <bookmark branch="hid/modules/scalc/ui/definename/rowheader" id="bm_id3154021" localize="false"/> 80 <h3 id="hd_id3153966">Repeat row</h3> 81 <paragraph role="paragraph" id="par_id3150300"><ahelp hid=".">Defines the area as a repeating row.</ahelp></paragraph> 82 <bookmark branch="hid/modules/scalc/ui/definename/add" id="bm_id3150207" localize="false"/> 83 <h2 id="hd_id3155112">Add</h2> 84 <paragraph role="paragraph" id="par_id3159236"><ahelp hid=".">Click the <emph>Add</emph> button to add a new defined name.</ahelp></paragraph> 85</section> 86 87<section id="relatedtopics"> 88<embed href="text/scalc/02/06010000.xhp#name_box_h1"/> 89</section> 90 91</body> 92</helpdocument> 93
