Spire.XLS for .NET is a professional Excel .NET library that can be used to any type of .NET( C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Wed Mar 02, 2011 4:04 am

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

eternalsummer
 
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