Spire.XLS is a professional Excel API that enables developers to create, manage, manipulate, convert and print Excel worksheets. Get free and professional technical support for Spire.XLS for .NET, Java, Android, C++, Python.

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

cron