Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try something like
Sub test() Dim lCommentCount As Long Dim sht As Worksheet For Each sht In ActiveWorkbook.Worksheets lCommentCount = lCommentCount + sht.Comments.Count Next sht MsgBox lCommentCount & " total comments in the active workbook" End Sub -- Hope that helps. Vergel Adriano "Sue" wrote: I've figured out how to do it in a Word document, but the object model or something must be different for Excel (2003). How can I have a msgbox pop up and tell me how many comments are in a workbook? thank you! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Returning a column name or number | Excel Worksheet Functions | |||
Finding value and returning row number | Excel Programming | |||
Returning value next to the nth occurrence of a particular number. | Excel Worksheet Functions | |||
returning workbook name | Excel Programming | |||
returning max UsedRange row number | Excel Programming |