Cell Comments

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way to show a comment only when the corresponding cell is selected?
 
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
 
Not a comment I don't believe (I assume you are unhappy with the default
behavior), but perhaps you could use data validation. It has several
options for popping up messages.

--
Regards,
Tom Ogilvy

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top