Command Reference — CSV category — Unpivot command

# Unpivot command

## Summary

Converts columns into rows by flattening the CSV data.

## Description

This command displays the Unpivot dialog box, and converts columns into rows by flattening the CSV data.

## How to Run

- Default Menu: CSV > Advanced > Unpivot

- All Commands: CSV > Advanced > Unpivot

- Toolbar:

- Status Bar: None

- Default Keyboard Shortcut: None

## Plug-in Command ID

    EEID_UNPIVOT (4083)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(4083);

### [VBScript]

    editor.ExecuteCommandByID 4083