Add Cells to Microsoft Excel Formula Watch Window with Golang via C++

Possible Usage Scenarios

Microsoft Excel Watch Window is a useful tool to conveniently monitor cell values and their formulas in a window. You can open the Watch Window in Microsoft Excel by clicking Formulas > Watch Window. It has the Add Watch button that can be used to add cells for inspection. Similarly, you can use the Worksheet.CellWatches.Add() method to add cells to the Watch Window using Aspose.Cells API.

Add Cells to Microsoft Excel Formula Watch Window

The following sample code sets the formula of cells C1 and E1 and adds both of them to the Watch Window. It then saves the workbook as an output Excel file. If you open the output Excel file and view the Watch Window, you will see both cells as shown in this screenshot.

todo:image_alt_text

Sample Code