1<?xml version="1.0" encoding="UTF-8"?> 2<helpdocument version="1.0"> 3 4<!--*********************************************************** 5 * 6 * Licensed to the Apache Software Foundation (ASF) under one 7 * or more contributor license agreements. See the NOTICE file 8 * distributed with this work for additional information 9 * regarding copyright ownership. The ASF licenses this file 10 * to you under the Apache License, Version 2.0 (the 11 * "License"); you may not use this file except in compliance 12 * with the License. You may obtain a copy of the License at 13 * 14 * http://www.apache.org/licenses/LICENSE-2.0 15 * 16 * Unless required by applicable law or agreed to in writing, 17 * software distributed under the License is distributed on an 18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 19 * KIND, either express or implied. See the License for the 20 * specific language governing permissions and limitations 21 * under the License. 22 * 23 ***********************************************************--> 24 25 26 27 28<meta> 29<topic id="textscalcguidecellreferences_urlxml" indexer="include" status="PUBLISH"> 30<title xml-lang="en-US" id="tit">References to Other Sheets and Referencing URLs</title> 31<filename>/text/scalc/guide/cellreferences_url.xhp</filename> 32</topic> 33</meta> 34<body> 35<bookmark xml-lang="en-US" branch="index" id="bm_id3150441"><bookmark_value>HTML; in sheet cells</bookmark_value> 36<bookmark_value>references; URL in cells</bookmark_value> 37<bookmark_value>cells; Internet references</bookmark_value> 38<bookmark_value>URL; in Calc</bookmark_value> 39</bookmark><comment>mw deleted "sheet references;"</comment> 40<paragraph xml-lang="en-US" id="hd_id3150441" role="heading" level="1" l10n="CHG" 41oldref="15"><variable id="cellreferences_url"><link href="text/scalc/guide/cellreferences_url.xhp" name="Referencing URLs">Referencing URLs</link> 42</variable></paragraph> 43<paragraph xml-lang="en-US" id="par_id1955626" role="paragraph" l10n="NEW">For example, if you found an Internet page containing current stock exchange information in spreadsheet cells, you can load this page in $[officename] Calc by using the following procedure:</paragraph> 44<list type="ordered"> 45<listitem> 46<paragraph xml-lang="en-US" id="par_id3152993" role="listitem" l10n="U" oldref="39">In a $[officename] Calc document, position the cursor in the cell into which you want to insert the external data.</paragraph> 47</listitem> 48<listitem> 49<paragraph xml-lang="en-US" id="par_id3145384" role="listitem" l10n="U" oldref="40">Choose <item type="menuitem">Insert - Link to External Data</item>. The <link href="text/scalc/01/04090000.xhp" name="External Data"><item type="menuitem">External Data</item></link> dialog appears.</paragraph> 50</listitem> 51<listitem> 52<paragraph xml-lang="en-US" id="par_id3152892" role="listitem" l10n="U" oldref="41">Enter the URL of the document or Web page in the dialog. The URL must be in the format: http://www.my-bank.com/table.html. The URL for local or local area network files is the path seen in the <item type="menuitem">File - Open</item> dialog.</paragraph> 53<paragraph xml-lang="en-US" id="par_id3153068" role="listitem" l10n="U" oldref="42">$[officename] loads the Web page or file in the "background", that is, without displaying it. In the large list box of the <item type="menuitem">External Data</item> dialog, you can see the name of all the sheets or named ranges you can choose from.</paragraph> 54</listitem> 55<listitem> 56<paragraph xml-lang="en-US" id="par_id3153914" role="listitem" l10n="CHG" oldref="43">Select one or more sheets or named ranges. You can also activate the automatic update function every "n" seconds and click <item type="menuitem">OK</item>.</paragraph> 57<paragraph xml-lang="en-US" id="par_id3157979" role="listitem" l10n="U" oldref="44">The contents will be inserted as a link in the $[officename] Calc document.</paragraph> 58</listitem> 59<listitem> 60<paragraph xml-lang="en-US" id="par_id3144768" role="listitem" l10n="U" oldref="30">Save your spreadsheet. When you open it again later, $[officename] Calc will update the linked cells following an inquiry.</paragraph> 61</listitem> 62<listitem> 63<paragraph xml-lang="en-US" id="par_id3159204" role="listitem" l10n="U" oldref="38">Under <switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - <link href="text/shared/optionen/01040900.xhp" name="Spreadsheet - General"><item type="menuitem">%PRODUCTNAME Calc - General</item></link> you can choose to have the update, when opened, automatically carried out either always, upon request or never. The update can be started manually in the dialog under <item type="menuitem">Edit - Links</item>.</paragraph> 64</listitem> 65</list> 66<section id="relatedtopics"> 67<embed href="text/scalc/guide/webquery.xhp#webquery"/> 68<embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/> 69</section> 70</body> 71</helpdocument>