Adding a map sheet name as dynamic text using an expression

The map sheet name from the current map sheet or a neighboring map sheet can be added to the map sheet using a VBScript expression. Using a VBScript expression allows you increased flexibility in formatting information displayed in a dynamic text.

RemarqueRemarque :

The ability to use neighboring map sheets is only effective when their areas of interest (AOIs) are relatively contiguous and regularly-shaped.

Étapes :
  1. Start ArcMap.
    ConseilConseil :

    If the ArcMap - Getting Started dialog box appears, you can open a new or existing map document. You can also check the Do not show this dialog box in the future check box and click Open.

  2. On the main menu, click Customize > Toolbars > MPS Atlas.
  3. Click the Add Dynamic Text button Add Dynamic Text on the MPS Atlas toolbar.

    A crosshair with a letter A appears.

  4. Click anywhere in the map sheet layout.

    A piece of dynamic text is inserted on the page.

  5. Double-click the dynamic text.

    The Dynamic Text Properties dialog box appears.

  6. Click the Dynamic Text tab if necessary.
  7. Click the Dynamic Text drop-down arrow and choose Map Sheet.
  8. Click Insert.

    A map sheet text appears in the text box.

  9. Click the dynamic text element in the text field.

    The Map Sheet Dynamic Text Properties dialog box appears.

    Map Sheet Dynamic Text Properties dialog box
  10. Click the Expression option.
  11. Click Edit Script.

    The Expression Parser dialog box appears.

    Map Sheet Dynamic Text Expression Parser dialog box
  12. In the Expression area, click to right of the Generate = expression.
  13. Double click a field name in the Parameter list.

    In the Expression area, the field name appears to the right of Generate =: Generate = [NAME].

    ConseilConseil :

    Double click a field name without an _arr suffix.

  14. Click Verify.

    The Output area lists Function evaluated successfully.

  15. Click OK to close the Expression Parser dialog box.
  16. Click OK to close the Map Sheet Dynamic Text Properties dialog box.
  17. Click OK to close the Dynamic Text Properties dialog box.

    The dynamic text displays in the page layout.

  18. RemarqueRemarque :

    If you change the layer or data frame, the expression will be cleared. A new layer will require a new set of function parameters.


9/30/2010