summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/scalc/guide
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-11-26 19:04:25 +0000
committerRüdiger Timm <rt@openoffice.org>2004-11-26 19:04:25 +0000
commitde6dcc885a06ea080e40649cf64fcb4128c535d9 (patch)
tree31fb16c870fd128428d5f90f3ced4a8d4f6907f2 /helpcontent2/source/text/scalc/guide
parent4cd97ed0082f5b2b0eaf3670f98ac981d15168e4 (diff)
INTEGRATION: CWS helpcontentbeta (1.2.2); FILE MERGED
2004/09/16 11:46:35 fpe 1.2.2.1: Regular Update
Diffstat (limited to 'helpcontent2/source/text/scalc/guide')
-rwxr-xr-xhelpcontent2/source/text/scalc/guide/userdefined_function.xhp31
1 files changed, 19 insertions, 12 deletions
diff --git a/helpcontent2/source/text/scalc/guide/userdefined_function.xhp b/helpcontent2/source/text/scalc/guide/userdefined_function.xhp
index 9ed9d6bf7f..c75070a4dc 100755
--- a/helpcontent2/source/text/scalc/guide/userdefined_function.xhp
+++ b/helpcontent2/source/text/scalc/guide/userdefined_function.xhp
@@ -62,7 +62,7 @@
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
-<lastedited date="2004-06-22T13:45:58">FPE: Deleted Screenshot and cleaned up
+<lastedited date="2004-09-15T11:30:00">FPE: Deleted Screenshot and cleaned up
yj - checked</lastedited>
</history>
</meta>
@@ -77,16 +77,16 @@ yj - checked</lastedited>
<paragraph role="paragraph" id="par_id3153969" xml-lang="en-US" l10n="U" oldref="2">You can apply user-defined functions in $[officename] Calc in the following ways:</paragraph>
<list type="unordered">
<listitem>
-<paragraph role="listitem" id="par_id3153768" xml-lang="en-US" l10n="CHG" oldref="3">You can program functions as <link href="text/scalc/01/04060111.xhp" name="add-ins">add-ins</link>. This method requires an advanced knowledge of programming.</paragraph>
+<paragraph role="listitem" id="par_id3145366" xml-lang="en-US" l10n="CHG" oldref="4">You can define your own functions using the Basic-IDE. This method requires a basic knowledge of programming.</paragraph>
</listitem>
<listitem>
-<paragraph role="listitem" id="par_id3145366" xml-lang="en-US" l10n="CHG" oldref="4">You can define your own functions using the Basic-IDE. This method only requires a basic knowledge of programming.</paragraph>
+<paragraph role="listitem" id="par_id3153768" xml-lang="en-US" l10n="CHG" oldref="3">You can program functions as <link href="text/scalc/01/04060111.xhp" name="add-ins">add-ins</link>. This method requires an advanced knowledge of programming.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3149260" xml-lang="en-US" level="2" l10n="CHG" oldref="6">Defining A Function Using %PRODUCTNAME Basic</paragraph>
<list type="ordered">
<listitem>
-<paragraph role="listitem" id="par_id3148456" xml-lang="en-US" l10n="U" oldref="7">Choose <item type="menuitem">Tools - Macros - Macro</item>. </paragraph>
+<paragraph role="listitem" id="par_id3148456" xml-lang="en-US" l10n="CHG" oldref="7">Choose <item type="menuitem">Tools - Macros - Organize Macros - %PRODUCTNAME Basic</item>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3154510" xml-lang="en-US" l10n="U" oldref="8">Click the <emph>Edit</emph> button. You will now see the Basic IDE.</paragraph>
@@ -101,14 +101,16 @@ yj - checked</lastedited>
</listitem>
</list>
<paragraph role="heading" id="hd_id3147340" xml-lang="en-US" level="2" l10n="U" oldref="18">Copying a Function To a Document</paragraph>
-<paragraph role="paragraph" id="par_id3145232" xml-lang="en-US" l10n="U" oldref="19">In stage 2 of "Defining a user-defined function in Basic-IDE", in the <emph>Macro</emph> dialog you clicked on <emph>Edit </emph>. As the default, in the <emph>Macro from</emph> field the <emph>soffice - Default - Module1</emph> module is selected. The default module resides locally in your user directory.</paragraph>
+<paragraph role="paragraph" id="par_id3145232" xml-lang="en-US" l10n="CHG" oldref="19">In stage 2 of "Defining A Function Using %PRODUCTNAME Basic", in the <emph>Macro</emph> dialog you clicked on <emph>Edit </emph>. As the default, in the <emph>Macro from</emph> field the <emph>My Macros - Standard - Module1</emph> module is selected. The <emph>Standard</emph> library resides locally in your user directory.</paragraph>
<paragraph role="paragraph" id="par_id3154022" xml-lang="en-US" l10n="U" oldref="20">If you want to copy the user-defined function to a Calc document:</paragraph>
<list type="ordered">
<listitem>
-<paragraph role="listitem" id="par_id3150304" xml-lang="en-US" l10n="U" oldref="21">Choose <item type="menuitem">Tools - Macros - Macro</item>.</paragraph>
+<paragraph role="listitem" id="par_id3150304" xml-lang="en-US" l10n="CHG" oldref="21">Choose <item type="menuitem">Tools - Macros - </item>
+<item type="menuitem">Organize Macros - %PRODUCTNAME Basic</item>
+<item type="menuitem"/>.</paragraph>
</listitem>
<listitem>
-<paragraph role="listitem" id="par_id3150086" xml-lang="en-US" l10n="U" oldref="22">In the <emph>Macro from</emph> field select <emph>soffice - Default - Module1</emph> and click <emph>Edit</emph>.</paragraph>
+<paragraph role="listitem" id="par_id3150086" xml-lang="en-US" l10n="CHG" oldref="22">In the <emph>Macro from</emph> field select <emph>My Macros - Standard - Module1</emph> and click <emph>Edit</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3166430" xml-lang="en-US" l10n="CHG" oldref="23">In the Basic-IDE, select the source of your user-defined function and copy it to the clipboard.</paragraph>
@@ -117,29 +119,34 @@ yj - checked</lastedited>
<paragraph role="listitem" id="par_idN1081D" xml-lang="en-US" l10n="NEW">Close the Basic-IDE.</paragraph>
</listitem>
<listitem>
-<paragraph role="listitem" id="par_id3150517" xml-lang="en-US" l10n="U" oldref="24">Choose <item type="menuitem">Tools - Macros - Macro</item>.</paragraph>
+<paragraph role="listitem" id="par_id3150517" xml-lang="en-US" l10n="CHG" oldref="24">Choose <item type="menuitem">Tools - Macros - </item>
+<item type="menuitem">Organize Macros - %PRODUCTNAME Basic</item>
+<item type="menuitem"/>.</paragraph>
</listitem>
<listitem>
-<paragraph role="listitem" id="par_id3145384" xml-lang="en-US" l10n="U" oldref="25">In the <emph>Macro from</emph> field select <emph>(Name of the Calc document)- Default - Module1</emph>. Click <emph>Edit</emph>.</paragraph>
+<paragraph role="listitem" id="par_id3145384" xml-lang="en-US" l10n="CHG" oldref="25">In the <emph>Macro from</emph> field select <emph>(Name of the Calc document) - Standard - Module1</emph>. Click <emph>Edit</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3148699" xml-lang="en-US" l10n="U" oldref="26">Paste the clipboard contents in the Basic-IDE of the document.</paragraph>
</listitem>
</list>
<paragraph role="heading" id="hd_id3153305" xml-lang="en-US" level="2" l10n="U" oldref="12">Applying a User-defined Function in $[officename] Calc</paragraph>
-<paragraph role="paragraph" id="par_id3148869" xml-lang="en-US" l10n="CHG" oldref="13">Once you have defined the function <item type="literal">VOL(a; b; c)</item> in the Basic-IDE, you can apply it in exactly the same way as the built-in functions of $[officename] Calc.</paragraph>
+<paragraph role="paragraph" id="par_id3148869" xml-lang="en-US" l10n="CHG" oldref="13">Once you have defined the function <item type="literal">VOL(a; b; c)</item> in the Basic-IDE, you can apply it the same way as the built-in functions of $[officename] Calc.</paragraph>
<list type="ordered">
<listitem>
-<paragraph role="listitem" id="par_id3148606" xml-lang="en-US" l10n="CHG" oldref="14">Open a $[officename] Calc document and enter numbers for the function parameters <item type="literal">a</item>, <item type="literal">b</item>, and <item type="literal">c</item> in cells.</paragraph>
+<paragraph role="listitem" id="par_id3148606" xml-lang="en-US" l10n="CHG" oldref="14">Open a Calc document and enter numbers for the function parameters <item type="literal">a</item>, <item type="literal">b</item>, and <item type="literal">c</item> in cells A1, B1, and C1.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3156019" xml-lang="en-US" l10n="CHG" oldref="15">Set the cursor in another cell and enter the following:</paragraph>
<paragraph role="code" id="par_id3155264" xml-lang="en-US" l10n="U" oldref="16">=VOL(A1;B1;C1)</paragraph>
-<paragraph role="listitem" id="par_idN10890" xml-lang="en-US" l10n="NEW">where <item type="literal">A1</item>, <item type="literal">B1</item>, and <item type="literal">C1</item> correspond to the cells with the values for <item type="literal">a</item>, <item type="literal">b</item>, and <item type="literal">c</item>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3146776" xml-lang="en-US" l10n="CHG" oldref="17">The function is evaluated and you will see the result in the selected cell.</paragraph>
</listitem>
</list>
+<section id="relatedtopics">
+<embed href="text/scalc/guide/calculate.xhp#calculate"/>
+<embed href="text/scalc/guide/formula_enter.xhp#formula_enter"/>
+</section>
</body>
</helpdocument>