|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)
The following code example makes cell A1 a precedent of an XmlMappedRange. The example then uses the ShowPrecedents method to draw an arrow between an XmlMappedRange and the precedent cell. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerAddress1Cell with a corresponding schema element of type int.