1<?xml version="1.0" encoding="UTF-8"?> 2 3<!--*********************************************************** 4 * 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file 9 * to you under the Apache License, Version 2.0 (the 10 * "License"); you may not use this file except in compliance 11 * with the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, 16 * software distributed under the License is distributed on an 17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 * KIND, either express or implied. See the License for the 19 * specific language governing permissions and limitations 20 * under the License. 21 * 22 ***********************************************************--> 23 24<helpdocument version="1.0"> 25<meta> 26<topic id="textscalcguidecellreference_dragdropxml" indexer="include" status="PUBLISH"> 27<title xml-lang="en-US" id="tit">Referencing Cells by Drag-and-Drop</title> 28<filename>/text/scalc/guide/cellreference_dragdrop.xhp</filename> 29</topic> 30</meta> 31<body> 32<bookmark xml-lang="en-US" branch="index" id="bm_id3154686"> 33<bookmark_value>drag and drop; referencing cells</bookmark_value> 34<bookmark_value>cells; referencing by drag and drop </bookmark_value> 35<bookmark_value>references;inserting by drag and drop</bookmark_value> 36<bookmark_value>inserting;references, by drag and drop</bookmark_value> 37</bookmark> 38<paragraph xml-lang="en-US" id="hd_id3154686" role="heading" level="1" l10n="U" 39oldref="16"><variable id="cellreference_dragdrop"><link href="text/scalc/guide/cellreference_dragdrop.xhp" name="Referencing Cells by Drag-and-Drop">Referencing Cells by Drag-and-Drop</link> 40</variable></paragraph> 41<paragraph xml-lang="en-US" id="par_id3156444" role="paragraph" l10n="CHG" oldref="17">With the help of the Navigator you can reference cells from one sheet to another sheet in the same document or in a different document. The cells can be inserted as a copy, link, or hyperlink. The range to be inserted must be defined with a name in the original file so that it can be inserted in the target file.</paragraph> 42<list type="ordered"> 43<listitem> 44<paragraph xml-lang="en-US" id="par_id3152576" role="listitem" l10n="U" oldref="25">Open the document that contains the source cells.</paragraph> 45</listitem> 46<listitem> 47<paragraph xml-lang="en-US" id="par_id3154011" role="listitem" l10n="U" oldref="26">To set the source range as the range, select the cells and choose <emph>Insert - Names - Define</emph>. Save the source document, and do not close it.</paragraph> 48</listitem> 49<listitem> 50<paragraph xml-lang="en-US" id="par_id3151073" role="listitem" l10n="U" oldref="18">Open the sheet in which you want to insert something.</paragraph> 51</listitem> 52<listitem> 53<paragraph xml-lang="en-US" id="par_id3154732" role="listitem" l10n="U" oldref="19">Open the <link href="text/scalc/01/02110000.xhp" name="Navigator">Navigator</link>. In the lower box of the Navigator select the source file.</paragraph> 54</listitem> 55<listitem> 56<paragraph xml-lang="en-US" id="par_id3150752" role="listitem" l10n="U" oldref="22">In the Navigator, the source file object appears under "Range names".</paragraph> 57</listitem> 58<listitem> 59<paragraph xml-lang="en-US" id="par_id3154754" role="listitem" l10n="U" oldref="27">Using the <emph>Drag Mode</emph> icon in Navigator, choose whether you want the reference to be a hyperlink, link, or copy.</paragraph> 60</listitem> 61<listitem> 62<paragraph xml-lang="en-US" id="par_id3154256" role="listitem" l10n="U" oldref="23">Click the name under "Range names" in the Navigator, and drag into the cell of the current sheet where you want to insert the reference.</paragraph> 63</listitem> 64</list> 65<paragraph xml-lang="en-US" id="par_id3149565" role="paragraph" l10n="U" oldref="24">This method can also be used to insert a range from another sheet of the same document into the current sheet. Select the active document as source in step 4 above.</paragraph> 66<section id="relatedtopics"> 67<embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/> 68<embed href="text/shared/guide/dragdrop.xhp#dragdrop"/> 69</section> 70</body> 71</helpdocument> 72