> For the complete documentation index, see [llms.txt](https://knowledgebase.flaik.com/flaik-knowledge-base/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://knowledgebase.flaik.com/flaik-knowledge-base/for-it-specialists/payroll-export-configuration/resort-specific-info/cardrona-pay-global/how-to-excel-maintaining-leading-zeroes.md).

# How To: Excel - Maintaining Leading Zeroes

{% embed url="<https://www.gridoc.com/how-to-open-csv-file-in-excel-without-deleting-leading-zeros/>" %}

## Open CSV file containing leading zeros in Excel

How to open CSV file in Excel without deleting leading zeros?

01

#### Open new Excel workbook

Navigate to\
**File -> New**

![Open new Excel workbook](https://gridoc.com/wp-content/uploads/2018/04/01-excel-new-file.png)

#### Import Text File

Navigate to\
**Data -> Get External Data -> Import Text File…**

![Import Text File](https://gridoc.com/wp-content/uploads/2018/04/02-data-get-external-data-text-file.png)

#### Open the CSV file

Select the CSV file and click **Get Data**\
In case you’re opening a Gridoc export file, the file name will be in the format **gridoc-export-date-time.csv**

![Open the CSV file](https://gridoc.com/wp-content/uploads/2018/04/03-get-data.png)

#### Text Import Wizard – Step 1

* Check that the “Delimited” option is selected
* Start import at row 1 (default value)
* File origin – keep default value

Click **Next**![Text Import Wizard  - Step 1](https://gridoc.com/wp-content/uploads/2018/04/04-text-import-wizard-1.png)

#### Text Import Wizard – Step 2

* Choose “Comma” as the delimiter
* Unselect any delimiters except “Comma”

Click **Next**![Text Import Wizard  - Step 2](https://gridoc.com/wp-content/uploads/2018/04/04-text-import-wizard-2.png)

#### Text Import Wizard – Step 3

* Hold SHIFT key and select all the columns
* Choose “Text” as the column data format

Click **Finish**![Text Import Wizard  - Step 3](https://gridoc.com/wp-content/uploads/2018/04/04-text-import-wizard-3.png)

#### Import Data

* By default the data will be imported starting in A1 column

Click **OK**![Import Data](https://gridoc.com/wp-content/uploads/2018/04/05-import-data.png)

#### Result

Values in the Order Number column retain leading zeroes.

![Result](https://gridoc.com/wp-content/uploads/2018/04/06-result-highlight.png)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://knowledgebase.flaik.com/flaik-knowledge-base/for-it-specialists/payroll-export-configuration/resort-specific-info/cardrona-pay-global/how-to-excel-maintaining-leading-zeroes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
