Use Show Formulas Feature of GridWeb

Using Show Formulas Feature

All you need to use a shortcut “CTRL + ~” to display all the formulas in the worksheet.

For example, we load a template file into the GridWeb which has formulas in the C column, here is the code we simply used to load the file.

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// Gets the web application's path.
string path = (this.Master as Site).GetDataDir();
// Clear the sheets
GridWeb1.WorkSheets.Clear();
// Load the file
GridWeb1.ImportExcelFile(path + "\\Articles\\source.xlsx");

The file is loaded into the GridWeb and we can see a sheet with all the values in the picture below.

todo:image_alt_text

After pressing CTRL + ~, all formulas are displayed.

todo:image_alt_text