Spire.XLS for .NET is a professional Excel .NET library that can be used to any type of .NET 2.0, 3.5, 4.0 or 4.5 framework application, both ASP.NET web sites and Windows Forms application.

Wed Mar 02, 2011 4:04 am

Does Spire.Doc support the function to add comments in Excel? How?

Posts: 11
Joined: Mon Dec 13, 2010 7:31 am

Fri Mar 04, 2011 2:57 am

Yes, of course. You can use the following code to realize it: sheet.Range["A1"].Comment.Text = "your comment"; Then set it visible.
sheet.Range["A1"].Comment.Visible = true; You may also set the author of it.
e-iceblue support
User avatar

iceblue support
Posts: 240
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.XLS