# Close form

> Close form activity that you can use this activity to close all instances of a form, or only a specific instance of a form.

`UiPath.Forms.Activities.CloseFormActivity`

## Description

You can use this activity to close all instances of a form, or only a specific instance of a form.

## Project compatibility

**Windows**

## Designer panel
* Select Form - Select the form file that you want to close.

## Properties panel
* Instance Name - If you want to close a specific instance of a form file, type the corresponding instance name here. If you want to close all form instances, leave this field empty.
