Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
The following code example uses the EntireColumn and properties to set the border color of the column and row that contain an XmlMappedRange to green. This code example assumes that the current worksheet contains an XmlMappedRange named CustomerLastNameCell.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.