Thread: Cell Comments
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
K Dales[_2_] K Dales[_2_] is offline
external usenet poster
 
Posts: 1,163
Default Cell Comments

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim C As Comment

For Each C In ActiveSheet.Comments
C.Visible = (C.Parent.Address = Target.Address)
Next C

End Sub


"LDanix" wrote:

Is there a way to show a comment only when the corresponding cell is selected?