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 @@ Sun Microsystems, Inc. -FPE: Deleted Screenshot and cleaned up +FPE: Deleted Screenshot and cleaned up yj - checked @@ -77,16 +77,16 @@ yj - checked You can apply user-defined functions in $[officename] Calc in the following ways: -You can program functions as add-ins. This method requires an advanced knowledge of programming. +You can define your own functions using the Basic-IDE. This method requires a basic knowledge of programming. -You can define your own functions using the Basic-IDE. This method only requires a basic knowledge of programming. +You can program functions as add-ins. This method requires an advanced knowledge of programming. Defining A Function Using %PRODUCTNAME Basic -Choose Tools - Macros - Macro. +Choose Tools - Macros - Organize Macros - %PRODUCTNAME Basic. Click the Edit button. You will now see the Basic IDE. @@ -101,14 +101,16 @@ yj - checked Copying a Function To a Document -In stage 2 of "Defining a user-defined function in Basic-IDE", in the Macro dialog you clicked on Edit . As the default, in the Macro from field the soffice - Default - Module1 module is selected. The default module resides locally in your user directory. +In stage 2 of "Defining A Function Using %PRODUCTNAME Basic", in the Macro dialog you clicked on Edit . As the default, in the Macro from field the My Macros - Standard - Module1 module is selected. The Standard library resides locally in your user directory. If you want to copy the user-defined function to a Calc document: -Choose Tools - Macros - Macro. +Choose Tools - Macros - +Organize Macros - %PRODUCTNAME Basic +. -In the Macro from field select soffice - Default - Module1 and click Edit. +In the Macro from field select My Macros - Standard - Module1 and click Edit. In the Basic-IDE, select the source of your user-defined function and copy it to the clipboard. @@ -117,29 +119,34 @@ yj - checked Close the Basic-IDE. -Choose Tools - Macros - Macro. +Choose Tools - Macros - +Organize Macros - %PRODUCTNAME Basic +. -In the Macro from field select (Name of the Calc document)- Default - Module1. Click Edit. +In the Macro from field select (Name of the Calc document) - Standard - Module1. Click Edit. Paste the clipboard contents in the Basic-IDE of the document. Applying a User-defined Function in $[officename] Calc -Once you have defined the function VOL(a; b; c) in the Basic-IDE, you can apply it in exactly the same way as the built-in functions of $[officename] Calc. +Once you have defined the function VOL(a; b; c) in the Basic-IDE, you can apply it the same way as the built-in functions of $[officename] Calc. -Open a $[officename] Calc document and enter numbers for the function parameters a, b, and c in cells. +Open a Calc document and enter numbers for the function parameters a, b, and c in cells A1, B1, and C1. Set the cursor in another cell and enter the following: =VOL(A1;B1;C1) -where A1, B1, and C1 correspond to the cells with the values for a, b, and c. The function is evaluated and you will see the result in the selected cell. +
+ + +