# Add the ViDiCheck Function to the Spreadsheet

1. Add a ViDiCheck function to the spreadsheet and open its property sheet.

2. Select the External Fixture parameter and set it as an absolute reference to the Patterns data structure returned by the FindPatMaxRedLine function.

3. Select the Region parameter and press the Edit Graphics button to enter interactive graphics mode so that you can configure the region.

4. Configure the region around the box of chocolates, and then press the Accept Changes button.

5. Press the Open ViDi Editor button to launch the ViDi Editor tab.