PC Review


Reply
Thread Tools Rate Thread

Show me cell comments ONLY when cell is selected

 
 
NYBoy
Guest
Posts: n/a
 
      4th Oct 2005

Just a quick question.

Everytime mouse curser is on the cell the comments window appears.
have a lot of comments on a lot of cells.
I want excel to show me comments ONLY when I select on the cell.

Is it possible?

NYBo

--
NYBo
-----------------------------------------------------------------------
NYBoy's Profile: http://www.excelforum.com/member.php...nfo&userid=836
View this thread: http://www.excelforum.com/showthread.php?threadid=47293

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      4th Oct 2005
One way is to use a worksheet event:

Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Range)

Dim myCell As Range
'turn off the comment indicator
Application.DisplayCommentIndicator = xlNoIndicator

For Each myCell In Target.Cells
If myCell.Comment Is Nothing Then
'do nothing
Else
myCell.Comment.Visible = True
End If
Next myCell
End Sub

Rightclick on the worksheet tab that should have this behavior and select view
code. Paste this in and try selecting different cells.



NYBoy wrote:
>
> Just a quick question.
>
> Everytime mouse curser is on the cell the comments window appears. I
> have a lot of comments on a lot of cells.
> I want excel to show me comments ONLY when I select on the cell.
>
> Is it possible?
>
> NYBoy
>
> --
> NYBoy
> ------------------------------------------------------------------------
> NYBoy's Profile: http://www.excelforum.com/member.php...fo&userid=8360
> View this thread: http://www.excelforum.com/showthread...hreadid=472935


--

Dave Peterson
 
Reply With Quote
 
NYBoy
Guest
Posts: n/a
 
      4th Oct 2005

Thanks Dave.

You guys are amazing. I don't know how you do these codes but they
work.
I'm an aircraft engineer but I think you guys know all the secrets.

Thanks again,
NYBoy


--
NYBoy
------------------------------------------------------------------------
NYBoy's Profile: http://www.excelforum.com/member.php...fo&userid=8360
View this thread: http://www.excelforum.com/showthread...hreadid=472935

 
Reply With Quote
 
RagDyeR
Guest
Posts: n/a
 
      4th Oct 2005
Another option, where there is *no* indication that a comment is even
present ... until the cell is selected ... is to use the
<Data> <Validation> <InPut Message> tab.

--

Regards,

RD
----------------------------------------------------------------------------
-------------------
Please keep all correspondence within the Group, so all may benefit !
----------------------------------------------------------------------------
-------------------


"NYBoy" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...

Thanks Dave.

You guys are amazing. I don't know how you do these codes but they
work.
I'm an aircraft engineer but I think you guys know all the secrets.

Thanks again,
NYBoy


--
NYBoy
------------------------------------------------------------------------
NYBoy's Profile:
http://www.excelforum.com/member.php...fo&userid=8360
View this thread: http://www.excelforum.com/showthread...hreadid=472935


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comments Appearing When Cell Is Selected (Not Hovered Over) JB Christy Microsoft Excel Misc 2 28th Mar 2006 10:57 PM
I want to show all comments on cells in one cell in the worksheet =?Utf-8?B?Q2xhaXJl?= Microsoft Excel Worksheet Functions 1 17th Jun 2005 10:47 AM
show comments when cell is highlighted Vs when cursor runs over? =?Utf-8?B?RG9u?= Microsoft Excel Misc 3 30th Apr 2005 02:50 PM
Changing cell colour when cell selected/de-selected by mouse/arrow keys Joe Hannett Microsoft Excel Misc 5 12th Aug 2004 06:39 PM
Show a cell as drop-down even if cell not selected Giri Microsoft Excel Misc 3 1st Apr 2004 09:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:23 AM.