#1   Report Post  
Mr Anthony Griffiths
 
Posts: n/a
Default Count Comments

Is there a way to count how many cells in a row have comments in them ?

Anthony G


  #2   Report Post  
Ron de Bruin
 
Posts: n/a
Default

Hi Anthony

Example for row 1 on the activesheet

On Error Resume Next
MsgBox Rows(1).SpecialCells(xlCellTypeComments).Count
On Error GoTo 0



--
Regards Ron de Bruin
http://www.rondebruin.nl


"Mr Anthony Griffiths" wrote in message ...
Is there a way to count how many cells in a row have comments in them ?

Anthony G




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can Comments be automatically converted to text cell values? tomdog61 Excel Discussion (Misc queries) 1 January 23rd 05 09:38 PM
filter and count rexmann Excel Discussion (Misc queries) 2 November 30th 04 02:11 PM
How can I use count function in excel where I have several criter. Princess V Excel Worksheet Functions 14 November 3rd 04 10:18 PM
count based on two fields - need quickly JO Excel Worksheet Functions 1 November 1st 04 09:44 PM
Count rows based on multiple criteria Murph Excel Worksheet Functions 1 October 28th 04 07:13 AM


All times are GMT +1. The time now is 05:04 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"