xref: /trunk/main/helpcontent2/source/text/scalc/guide/cellreferences_url.xhp (revision 31bbceb0f9d64c0c2c3b22a794a1666c1f33396e)
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="textscalcguidecellreferences_urlxml" indexer="include" status="PUBLISH">
27<title xml-lang="en-US" id="tit">References to Other Sheets and Referencing URLs</title>
28<filename>/text/scalc/guide/cellreferences_url.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3150441">
33<bookmark_value>HTML; in sheet cells</bookmark_value>
34<bookmark_value>references; URL in cells</bookmark_value>
35<bookmark_value>cells; Internet references</bookmark_value>
36<bookmark_value>URL; in Calc</bookmark_value>
37</bookmark><comment>mw deleted "sheet references;"</comment>
38<paragraph xml-lang="en-US" id="hd_id3150441" role="heading" level="1" l10n="CHG"><variable id="cellreferences_url"><link href="text/scalc/guide/cellreferences_url.xhp" name="Referencing URLs">Referencing URLs</link>
39</variable></paragraph>
40<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>
41<list type="ordered">
42<listitem>
43<paragraph xml-lang="en-US" id="par_id3152993" role="listitem" l10n="U">In a $[officename] Calc document, position the cursor in the cell into which you want to insert the external data.</paragraph>
44</listitem>
45<listitem>
46<paragraph xml-lang="en-US" id="par_id3145384" role="listitem" l10n="U">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>
47</listitem>
48<listitem>
49<paragraph xml-lang="en-US" id="par_id3152892" role="listitem" l10n="U">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>
50<paragraph xml-lang="en-US" id="par_id3153068" role="listitem" l10n="U">$[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>
51</listitem>
52<listitem>
53<paragraph xml-lang="en-US" id="par_id3153914" role="listitem" l10n="CHG">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>
54<paragraph xml-lang="en-US" id="par_id3157979" role="listitem" l10n="U">The contents will be inserted as a link in the $[officename] Calc document.</paragraph>
55</listitem>
56<listitem>
57<paragraph xml-lang="en-US" id="par_id3144768" role="listitem" l10n="U">Save your spreadsheet. When you open it again later, $[officename] Calc will update the linked cells following an inquiry.</paragraph>
58</listitem>
59<listitem>
60<paragraph xml-lang="en-US" id="par_id3159204" role="listitem" l10n="U">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>
61</listitem>
62</list>
63<section id="relatedtopics">
64<embed href="text/scalc/guide/webquery.xhp#webquery"/>
65<embed href="text/scalc/guide/cellreferences.xhp#cellreferences"/>
66</section>
67</body>
68</helpdocument>
69