From a016f84eca14ce4364fbf04b8de57a490a5f889f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Timm?= Date: Fri, 26 Nov 2004 15:29:04 +0000 Subject: [PATCH] INTEGRATION: CWS helpcontentbeta (1.1.2); FILE MERGED 2004/10/06 14:55:25 fpe 1.1.2.2: Regular Update 2004/09/16 11:46:26 fpe 1.1.2.1: Regular Update --- .../text/scalc/guide/cellreferences.xhp | 80 +++++----- .../text/scalc/guide/cellreferences_url.xhp | 145 +++++++++--------- 2 files changed, 116 insertions(+), 109 deletions(-) diff --git a/helpcontent2/source/text/scalc/guide/cellreferences.xhp b/helpcontent2/source/text/scalc/guide/cellreferences.xhp index 0cc3aa315d..acc7133cf0 100755 --- a/helpcontent2/source/text/scalc/guide/cellreferences.xhp +++ b/helpcontent2/source/text/scalc/guide/cellreferences.xhp @@ -1,4 +1,4 @@ - + - - - - -Referencing a Cell in Another Document -/text/scalc/guide/cellreferences.xhp - - -Sun Microsystems, Inc. -converted from old format - fpe - - + ************************************************************************--> + + + + +Referencing a Cell in Another Document +/text/scalc/guide/cellreferences.xhp + + +Sun Microsystems, Inc. +converted from old format - fpe + + -sheet references; to other documents -references; to cells in another document +sheet references; to other documents +references; to cells in another document cells; operating in another document - + Referencing a Cell in Another Document - -You can reference a cell in another spreadsheet: - - -For the following example, the source document is named 'C:\test\test.sxc'; and it contains a sheet named Sheet1. - - -Open a new spreadsheet document. - - -Place the cursor in cell A1 and enter the following formula: ='C:\test\test.sxc'#Sheet1.A1 - - -Alternatively, you can enter the file name as a URL designation: ='file:///C/test/test.sxc'#Sheet1.A1. You can similarly access a file in the Internet: ='http://www.sun.com/test/test.sxc'#Sheet1.A1. - - -Drag the box in the lower right corner of the active cell to select a range of cells. $[officename] automatically inserts the corresponding references in the adjacent cells. As a result, the sheet name is preceded with a "$" sign to designate it as an absolute reference. - - - - - - + +You can reference a cell in another spreadsheet: + + +For the following example, the source document is named 'C:\test\test.sxc'; and it contains a sheet named Sheet1. + + +Open a new spreadsheet document. + + +Place the cursor in cell A1 and enter the following formula: ='C:\test\test.sxc'#Sheet1.A1 + + +Alternatively, you can enter the file name as a URL designation: ='file:///C/test/test.sxc'#Sheet1.A1. You can similarly access a file in the Internet: ='http://www.sun.com/test/test.sxc'#Sheet1.A1. + + +Drag the box in the lower right corner of the active cell to select a range of cells. $[officename] automatically inserts the corresponding references in the adjacent cells. As a result, the sheet name is preceded with a "$" sign to designate it as an absolute reference. + + +
+ +
+
diff --git a/helpcontent2/source/text/scalc/guide/cellreferences_url.xhp b/helpcontent2/source/text/scalc/guide/cellreferences_url.xhp index 8beefcc476..d35b813191 100755 --- a/helpcontent2/source/text/scalc/guide/cellreferences_url.xhp +++ b/helpcontent2/source/text/scalc/guide/cellreferences_url.xhp @@ -52,82 +52,89 @@ * Contributor(s): _______________________________________ * * - ************************************************************************--> + ************************************************************************--> + + -References to Other Sheets and Referencing URLs +References to Other Sheets and Referencing URLs /text/scalc/guide/cellreferences_url.xhp Sun Microsystems, Inc. -converted from old format - fpe +converted from old format - fpe - - - sheet references; to other sheetsHTML; in sheet cellsreferences; URL in cellscells; Internet referencesURL; in CalcReferences to Other Sheets and Referencing URLs - In a sheet cell you can show a reference to a cell in another sheet. - - - Open a new, empty spreadsheet. - - - By way of example, enter the following formula in cell A1 of Sheet1: - =Sheet2.A1 - - - Click the Sheet 2 tab at the bottom of the spreadsheet. Set the cursor in cell A1 there and enter text or a number. - - - 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. - - - In the same way, a reference can also be made to a cell from another document. Open another spreadsheet in addition to the current spreadsheet. The current spreadsheet must have already been saved as a file. - - - If you have installed the samples you can, for example, by choosing File - Open, open the Movie1 document from the spreadsheet samples. - - - Change back to the original spreadsheet. Set the cursor in a free cell and enter an equals sign to indicate that you want to begin a formula. - - - Now switch to the document you have just loaded, Movie1. Click cell C3. - - - Switch back to the original spreadsheet. In the calculation row you will now see how $[officename] Calc has added the reference to the formula for you. If you have used the previous example, the following will now be located there: - ='file:///C:/$[officepath]/share/samples/english/spreadsheets/Movie1.sdc'#$movievisits.C3 - - - Confirm the formula by clicking the green check mark. - The reference to a cell of another document contains the name of the other document in single inverted commas, then a hash #, then the name of the sheet of the other document, followed by a point and the name of the cell. The name of the sheet automatically receives a leading dollar sign, since the sheet has absolute addressing. - - - If you examine the name of the other document in this formula, you will notice that it is written as a URL. This means that you can also enter a URL from the Internet. 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: - - - In a $[officename] Calc document, position the cursor in the cell into which you want to insert the external data. - - - Choose Insert - External Data. The External Data dialog appears. - - - 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 File - Open dialog. - $[officename] loads the Web page or file in the "background", that is, without displaying it. In the large list box of the External Data dialog, you can see the name of all the sheets or named ranges you can choose from. - - - Select one or more sheets or named ranges. You can also activate the automatic update function every "n" minutes and click OK. - The contents will be inserted as a link in the $[officename] Calc document. - - - Save your spreadsheet. When you open it again later, $[officename] Calc will update the linked cells following an inquiry. - - - Under Tools - Options - %PRODUCTNAME Calc - General 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 Edit - Links. - - - - - - +sheet references; to other sheets +HTML; in sheet cells +references; URL in cells +cells; Internet references +URL; in Calc + +References to Other Sheets and Referencing URLs + +In a sheet cell you can show a reference to a cell in another sheet. + + +Open a new, empty spreadsheet. + + +By way of example, enter the following formula in cell A1 of Sheet1: +=Sheet2.A1 + + +Click the Sheet 2 tab at the bottom of the spreadsheet. Set the cursor in cell A1 there and enter text or a number. + + +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. + + +In the same way, a reference can also be made to a cell from another document. Open another spreadsheet in addition to the current spreadsheet. The current spreadsheet must have already been saved as a file. + + +If you have installed the samples you can, for example, by choosing File - Open, open the Movie1 document from the spreadsheet samples. + + +Change back to the original spreadsheet. Set the cursor in a free cell and enter an equals sign to indicate that you want to begin a formula. + + +Now switch to the document you have just loaded, Movie1. Click cell E8. + + +Switch back to the original spreadsheet. In the calculation row you will now see how $[officename] Calc has added the reference to the formula for you. If you have used the previous example, the following will now be located there: +='file:///C:/$[officepath]/share/samples/english/spreadsheets/Movie1.sdc'#$movievisits.E8 + + +Confirm the formula by clicking the green check mark. +The reference to a cell of another document contains the name of the other document in single inverted commas, then a hash #, then the name of the sheet of the other document, followed by a point and the name of the cell. The name of the sheet automatically receives a leading dollar sign, since the sheet has absolute addressing. + + +If you examine the name of the other document in this formula, you will notice that it is written as a URL. This means that you can also enter a URL from the Internet. 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: + + +In a $[officename] Calc document, position the cursor in the cell into which you want to insert the external data. + + +Choose Insert - Link to External Data. The External Data dialog appears. + + +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 File - Open dialog. +$[officename] loads the Web page or file in the "background", that is, without displaying it. In the large list box of the External Data dialog, you can see the name of all the sheets or named ranges you can choose from. + + +Select one or more sheets or named ranges. You can also activate the automatic update function every "n" minutes and click OK. +The contents will be inserted as a link in the $[officename] Calc document. + + +Save your spreadsheet. When you open it again later, $[officename] Calc will update the linked cells following an inquiry. + + +Under Tools - Options - %PRODUCTNAME Calc - General 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 Edit - Links. + + +
+ + +