Command Reference — Convert category — Capitalize command

# Capitalize command

## Summary

Capitalizes the first letter of each word in the selection.

## Description

Converts the first letter of each word in the selection to uppercase letters, and converts the other letters to lowercase letters.

## How to Run

- Default Menu: Convert > Capitalize

- All Commands: Convert > Capitalize

- Toolbar: None

- Status Bar: None

- Default Keyboard Shortcut: None

## Plug-in Command ID

    EEID_CAPITALIZE (4381)

## Macros

### [JavaScript]

    document.selection.ChangeCase(eeCaseCapitalize);

### [VBScript]

    document.selection.ChangeCase eeCaseCapitalize