[]
Gets or sets the comment associated with the name.
Use this property to retrieve or set the descriptive text assigned to a defined name.
string Comment { get; set; }
Property Comment As String
worksheet.Range["A1:A3"].Value = new object[,] { { 100 }, { 200 }, { 300 } };
IName definedName = worksheet.Names.Add("SalesTotal", "=A1:A3");
definedName.Comment = "Total sales range";
string comment = definedName.Comment;