Insert cell comments in excel programmaticaly

calendar_today Asked Oct 21, 2008
thumb_up 6 upvotes
history Updated April 16, 2026

Question posted 2008 · +5 upvotes

What’s the better way to insert cell comments in excel 2007 files programmaticaly using c# and .net 3.5?

Accepted answer +6 upvotes

I just did exactly that but with MS Word (using Microsoft.Office.Interop.Word

range.Comments.Add ( range, ref _categoryMessage );

So, I would suggest using Microsoft.Office.Interop.Excel and the similar method. Consider this from MSDN:

http://msdn.microsoft.com/es-es/library/microsoft.office.interop.excel.range.addcomment.aspx

Also see this too

External references cited (2)

Excel VBA objects referenced (5)

Top excel Q&A (6)

+6 upvotes ranks this answer #141 out of 167 excel solutions on this site .