# Step 4 of 4: Saving and Opening the XLS File

## Content



Finally, add the following code to save and load the Excel workbook. This code should be added after the code from [Step 3 of 4](/componentone/docs/wpf/online-excel/excelforwpfquickstar/step3of4formattingth) within the **Form\_Load** event.

```vbnet
C1XLBook1.Save("c:\mybook.xls")
System.Diagnostics.Process.Start("C:\mybook.xls")
```

```csharp
c1XLBook1.Save(@"c:\mybook.xls");
System.Diagnostics.Process.Start(@"c:\mybook.xls");
```

Run the program and observe:

![Excel File](https://cdn.mescius.io/document-site-files/images/4e8fb55a-cee4-4e5b-a6f1-f4ba4ccbfde1/c1excel_graphics/image11_0.png)

Formatted content is added to the workbook.

Congratulations! You've completed the **Excel for WPF** quick start.