Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default want to highlight cell which having comment & greater than 0

Want to highlight only those cell which are having comment and their value
is greater than 0
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default want to highlight cell which having comment & greater than 0

Try this small macro:

Sub hilight()
For Each r In ActiveSheet.UsedRange.SpecialCells(xlCellTypeComme nts)
If r.Value 0 Then
r.Interior.ColorIndex = 6
End If
Next
End Sub


--
Gary''s Student - gsnu200853


"Devender" wrote:

Want to highlight only those cell which are having comment and their value
is greater than 0

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
Highlight MAX Cell Greater Than Zero Nate Excel Discussion (Misc queries) 4 April 1st 09 06:38 PM
how to highlight more related cells if cell highlight Jon Excel Discussion (Misc queries) 5 December 21st 08 01:06 PM
copy comment content to cell content as data not as comment Lilach Excel Discussion (Misc queries) 2 June 21st 07 12:28 PM
Highlight cells with ctrl-click but only un-highlight one cell hagan Excel Discussion (Misc queries) 5 May 27th 05 06:45 PM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM


All times are GMT +1. The time now is 11:37 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"