home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 January / enter-2004-01.iso / files / soto_en / f_0292 / scalc.jar / text / scalc / guide / cellreferences_url.xml < prev    next >
Encoding:
Extensible Markup Language  |  2002-03-08  |  6.4 KB  |  103 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>References to other tables</title><meta name="filename" content="text/scalc/guide/cellreferences_url"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         p.P1{
  5.                 }
  6.         p.P2{
  7.                 }
  8.         p.P3{
  9.                 }
  10.         p.P4{
  11.                 }
  12.         p.P5{
  13.                 }
  14.         p.P6{
  15.                 }
  16.         span.T1{
  17.                 font-weight:bold;}
  18.         </style></head><body>
  19.         
  20.         
  21.         <p class="P1"/>
  22.         <p class="Head1">
  23.             <help:key-word value="Table reference; to another document" tag="kw68074_1" xmlns:help="http://openoffice.org/2000/help"/>
  24.             <help:key-word value="HTML; in table cell" tag="kw68074_5" xmlns:help="http://openoffice.org/2000/help"/>
  25.             <help:key-word value="Reference; URL in cell" tag="kw68074_4" xmlns:help="http://openoffice.org/2000/help"/>
  26.             <help:key-word value="Cell; Internet-reference" tag="kw68074_3" xmlns:help="http://openoffice.org/2000/help"/>
  27.             <help:key-word value="URL; in Calc" tag="kw68074_2" xmlns:help="http://openoffice.org/2000/help"/>
  28.             <help:to-be-embedded Eid="cellreferences_url" xmlns:help="http://openoffice.org/2000/help">
  29.                 <help:link Id="68074">References to other tables</help:link>
  30.             </help:to-be-embedded>
  31.         </p>
  32.         <p class="P2">In a table cell you can show a reference to a cell in another table.</p>
  33.         <ol class="L1">
  34.             <li class="">
  35.                 <p class="P3">Open a new, empty spreadsheet.</p>
  36.             </li>
  37.             <li class="">
  38.                 <p class="P3">By way of example, enter in cell A1 of Sheet1 the following formula and complete the input with the Enter key:</p>
  39.                 <p class="P4">=Sheet2.A1</p>
  40.             </li>
  41.             <li class="">
  42.                 <p class="P3">If you now click the sheet tab with the label text Sheet2 on the bottom window border, you will go to Sheet2 of the current document. Set the cursor in cell A1 there and enter text or a number.</p>
  43.             </li>
  44.             <li class="">
  45.                 <p class="P3">If you switch back to Sheet1, you will see the same content in cell A1 there. If the contents of Sheet2.A1 change, then the contents of Sheet1.A1 also change.</p>
  46.             </li>
  47.         </ol>
  48.         <p class="Paragraph">In a corresponding way a reference can also be made to a cell of another document. Open another spreadsheet in addition to your new spreadsheet, which is already saved as a file (this does not work unless a document has previously been saved).</p>
  49.         <ol class="L2">
  50.             <li class="">
  51.                 <p class="P5">If you have installed the samples you can, for example, via the command 
  52.                     <span class="T1">File - Open</span> open the document Kino1 from the table samples.</p>
  53.             </li>
  54.             <li class="">
  55.                 <p class="P5">Change back to your new, still almost empty spreadsheet. Set the cursor in a free cell and enter an equals sign to indicate that you wish to begin a formula.</p>
  56.             </li>
  57.             <li class="">
  58.                 <p class="P5">Now switch to the document you have just loaded, Kino1. There click cell C3.</p>
  59.             </li>
  60.             <li class="">
  61.                 <p class="P5">Switch back to the new spreadsheet. In the calculation row you will now see how SOT Office Calc has added the reference to the formula for you. By way of example, the following will now be located there:</p>
  62.                 <p class="P5">='file:///C|/SOT Office/share/samples/english/spreadsheets/Movie1.sdc'#$movievisits.C3</p>
  63.             </li>
  64.             <li class="">
  65.                 <p class="P5">Confirm the formula by clicking the green inverted comma.</p>
  66.                 <p class="P5">The reference to a cell of another document thus contains the name of the other document in single inverted commas, then a hash #, then the name of the sheet in the other document followed by a point and the name of the cell there C3. The name of the sheet automatically receives a leading dollar sign, since the sheet has absolute addressing.</p>
  67.             </li>
  68.         </ol>
  69.         <p class="Paragraph">If you closely examine the name of the other document in this formula, you will notice that it is written as a <help:popup Id="65629" Eid="url" xmlns:help="http://openoffice.org/2000/help">URL</help:popup>. This means that you can also enter a URL from the Internet. If, for example, you found an Internet page containing current stock exchange information in spreadsheet cells, you can load this page in SOT Office Calc. Just follow these steps:</p>
  70.         <ol class="L3">
  71.             <li class="">
  72.                 <p class="P6">Go to the Internet page containing the desired table and copy the URL from the URL field in the Function bar. Take for example, the fictional URL:</p>
  73.                 <p class="P6">http://www.some-bank.de/kurse/STOXX.html</p>
  74.             </li>
  75.             <li class="">
  76.                 <p class="P6">Call the Open dialog (via menu File - Open or Ctrl +O) and paste the URL in the <span class="T1">File name</span> field.</p>
  77.             </li>
  78.             <li class="">
  79.                 <p class="P6">Select now in the <span class="T1">File type</span> list box, select the filter "HTML" (SOT Office Calc)" (located about two-thirds down the list) and click the <span class="T1">Open</span> button. The URL will be opened as a spreadsheet document in SOT Office Calc.</p>
  80.             </li>
  81.             <li class="">
  82.                 <p class="P6">Enter an equal sign in a cell to begin a new formula in your spreadsheet document. Switch back to the document which you downloaded from the Internet, select the cell with the content that interests you and go back again to your spreadsheet. Finally, confirm this formula by clicking the green check mark in the input field. The formula should now read as follows:</p>
  83.                 <p class="P6">='http://www.some-bank.de/kurse/STOXX.html'#Sheet1.C4</p>
  84.             </li>
  85.             <li class="">
  86.                 <p class="P6">Save your spreadsheet. If you open it again later, SOT Office Calc will update the contents of the cell from the Internet (following an inquiry).</p>
  87.             </li>
  88.             <li class="">
  89.                 <p class="P6">Under <help:link Id="66279" xmlns:help="http://openoffice.org/2000/help">
  90.                         <span class="T1">Tools - Options - Spreadsheet - General</span>
  91.                     </help: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 <span class="T1">Edit - Links</span>.</p>
  92.             </li>
  93.         </ol>
  94.         <p class="ParaList">
  95.             <help:embedded Id="65598" Eid="related" xmlns:help="http://openoffice.org/2000/help"/>
  96.         </p>
  97.         <p class="ParaList">
  98.             <help:embedded Id="68398" Eid="webquery" xmlns:help="http://openoffice.org/2000/help"/>
  99.         </p>
  100.         <p class="ParaList">
  101.             <help:embedded Id="68075" Eid="cellreferences" xmlns:help="http://openoffice.org/2000/help"/>
  102.         </p>
  103.     </body></html>