跳至主要內容
Adaptive Planning
Use Named Ranges

Use Named Ranges

Named Ranges

To link a table from
OfficeConnect
for Excel to
OfficeConnect
for PowerPoint, define the table as a named range.
A
named range
is a user-defined area of cells, rows, or columns in an Excel file. With a named range, you can perform operations on that area as a whole.
Example: You can jump quickly to the named range from wherever you are in the workbook. Also, you can copy a named range from
OfficeConnect
for Excel and link it in a PowerPoint slide.
Within a named range, you can move or change data, and add or delete rows or columns. The named range maintains its integrity as a single object. Any changes you make to the named range in Excel, reflect in PowerPoint as soon as you refresh the presentation.
Search for
Named Ranges
in Excel online help for information.

Create a Named Range

Use one of two methods to create a named range:
  • Select an area on the grid
  • Use the Define Name command
To create a named range by selecting an area:
  1. Select the area you want to include in the range such as set of cells, rows, or columns.
  2. Click in the
    Name Box
    menu so that the current contents are selected.
    Create a named range in Excel
  3. Enter the name you want for this named range, and then press Enter. The named range is created. To see the named ranges in any sheet in this workbook, you can click the Name Box menu. Select a named range in the menu to goes to its location in the grid.
You can also create a named range by using the Define Name command.
To create a named range by using the Define Name command:
  1. Select the area you want to include in the named range such as set of cells, rows, or columns.
  2. Select the
    Formulas
    tab in the ribbon.
  3. From the
    Defined Names
    group, select
    Define Name
    .
  4. Enter the name you want for this named range.
  5. In
    Scope
    , specify whether this named range is available from a particular worksheet in the workbook, or to the whole workbook.
  6. In
    Comment
    , add a note if necessary.
  7. In
    Refers to
    , verify the code reflects the area you selected for this range. Make any corrections as needed, either by selecting in the grid or by changing the code.
  8. Click
    OK
    . The named range is created as you specified. You can see the named range in the
    Name Box
    menu.

Change a Named Range

You can change a named range to add or remove columns or rows. The named range adjusts automatically.
Use the Name Manager to:
  • Change the scope of a name range.
  • Change the name of the named range.
  • Delete a named range.
To change or delete a named range:
  1. Select the
    Formulas
    tab in the ribbon.
  2. From the
    Defined Names
    group, select
    Name Manager
    . The Name Manager dialog appears, listing all named ranges in the workbook.
  3. Select the named range you want to change, and then click
    Edit.
    To delete a named range, click
    Delete.
  4. Change the name of the named range.
  5. In
    Comment
    , add or change a note about the named range.
  6. In
    Refers to
    , change the area for this named range. When you click in the field, the range appears in the grid. Make your changes by either selecting in the grid or by changing the code.
  7. Click
    OK
    .
  8. Click
    Close
    in the Name Manager dialog box. The named range is modified as you specified.