Inserting a function from a cell

To insert a function for a cell:

  1. In the template, select the workbook cell in which you want the value from the property attribute, for example, DOC_ID, to be inserted.
  2. From the Formulas menu, select Insert Function. In the dialog box that appears, proceed as follows:
    1. From the Or select a category: list, select User Defined.
    2. From the Select a function: list, select the macro that the function will use, for example, getDOC_ID.
    3. Click OK.
    4. In the Function Arguments dialog box that appears, define any integer that you want to use as function input.

To view the function name in the cell in which the function was inserted, double-click the cell.