> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Export selection

> How to export a selection to Excel or a file.

## Export to Excel

Go to the required selection and select the tab containing the records you want to work with.

1. Click <i class="ph ph-dots-three-circle-vertical" aria-label="Task button" /> and select **Export to Excel**.

2. Click **Yes** to confirm.

3. Click the exported file to open it in Excel.

<h2 id="to-file">
  Export to file
</h2>

Using this task, you can create a text file containing information about the selection members for use outside of SuperOffice CRM. It can be used both for members that are companies (on the **Companies** tab) and members that are sales, projects, documents or follow-ups. The template you select in the **Use template** field determines what information is included, the order it is displayed in, and the separator character to use.

1. Go to the required selection and select the tab containing the records you want to work with.

2. Click the **Task** button and select **Export to file**.

3. In the **Export to file** dialog in the **Use Template** field, specify the template to use for the file you are exporting. The template determines what is exported. If you do not want to use the default option, choose another template from the list box.

4. Click **Create** to set the export running.

5. When the export is finished, save or open the file.

<Note>
  The text file may appear somewhat untidy if you open it in Notepad. This is normal for files where the information is delimited using separators such as TABs or semi-colons.
</Note>


## Related topics

- [Export Selection Members](/en/api/reference/restful/agent/selection_agent/export-selection-members.md)
- [Export Selection Members With Order By](/en/api/reference/restful/agent/selection_agent/export-selection-members-with-order-by.md)
- [Export section tabs](/en/learn/section-tabs/export-archives.md)
- [SuperOffice.WebApi.Data.Selection ExportSelectionMembersRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Selection_ExportSelectionMembersRequest.md)
- [SuperOffice.WebApi.Data.Selection ExportSelectionMembersWithOrderByRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Selection_ExportSelectionMembersWithOrderByRequest.md)
- [NSSelectionAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSSelectionAgent.md)
