Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Comments Member on Worksheet Object
The following C# code:
Excel.Comments tmpComments = m_TargetWorksheet.Comments; foreach(Excel.Comment tmpComment in tmpComments) { tmpComment.Delete(); } Fails with a "Member not found." exception, whether the worksheet has comments in it or not. The same call in VBA works fine whether the workbook has comments or not. I'm using the Office 2002 PIAs for automation. Does anyone know why the Comments member is not recognized? thanks! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I see PDF comments in Excel insert object | Excel Discussion (Misc queries) | |||
plot graph from multiple worksheet as embedded chart object on every worksheet | Charts and Charting in Excel | |||
plot graph from multiple worksheet as embedded chart object on every worksheet | Excel Discussion (Misc queries) | |||
plot graph from multiple worksheet as embedded chart object on every worksheet | Excel Worksheet Functions | |||
plot graph from multiple worksheet as embedded chart object on every worksheet | New Users to Excel |