---
title: "view.formulaBar: Formula Bar — Sheet kit command — Kition"
description: "Shows or hides the formula bar. It is the person's view of every workbook: the workbook does not change (no undo step, nothing to save)."
canonical: "https://developer.kition.ai/docs/kits/sheet/commands/view.formulaBar"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/sheet/commands/view.formulaBar](https://developer.kition.ai/docs/kits/sheet/commands/view.formulaBar)

# view.formulaBar

**Formula Bar.** Shows or hides the formula bar. It is the person's view of every workbook: the workbook does not change (no undo step, nothing to save).

- Kit: Sheet 0.1.0 (.xlsx (and opens .xlsm, .xls, .xltx, .csv, .ods, .xlsb)); reference: [Sheet kit commands](https://developer.kition.ai/docs/kits/sheet.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `on` | `boolean` | no | true shows it, false hides it; left out, it toggles |

## Call through sheet_run

```text
sheet_run {
  "path": "<file>.xlsx",
  "steps": [{ "command": "view.formulaBar" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `on`. sheet_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `on` | `boolean` | no |  |

```json
{
  "additionalProperties": false,
  "properties": {
    "on": {
      "type": "boolean"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "on": {
      "description": "true shows it, false hides it; left out, it toggles",
      "type": "boolean"
    }
  },
  "returns": "{on}; the person's view, not saved with the workbook",
  "type": "object"
}
```

Generated from the command list of @kition/sheet-darwin-arm64@0.1.0 and the kit itself (sheet_commands through @kition/cli@0.1.1, built from KitionAI/kition-sheet@82f13b2).
