Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 661
Default Conditionally Hiding Comment markers.

Is there a way to hide comment markers? If so, can they be hidden based
on cell values or formulas? I created a worksheet where some cells are
hidden until a specified second cell contains a given value. However, while
cell values are hidden the comment marker gives away the fact that the cell
may contain data or serves some special function.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default Conditionally Hiding Comment markers.

From the Excel help file:
1.. On the Tools menu, click Options, and then click the View tab.
2.. Do one of the following:
To hide both comments and indicators throughout the workbook, click None
under Comments.





"Paul" wrote in message
...
Is there a way to hide comment markers? If so, can they be hidden
based
on cell values or formulas? I created a worksheet where some cells are
hidden until a specified second cell contains a given value. However,
while
cell values are hidden the comment marker gives away the fact that the
cell
may contain data or serves some special function.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,565
Default Conditionally Hiding Comment markers.

From the VBA help file:

Application.DisplayCommentIndicator = xlNoIndicator



"Paul" wrote in message
...
Is there a way to hide comment markers? If so, can they be hidden
based
on cell values or formulas? I created a worksheet where some cells are
hidden until a specified second cell contains a given value. However,
while
cell values are hidden the comment marker gives away the fact that the
cell
may contain data or serves some special function.



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 661
Default Conditionally Hiding Comment markers.

Thanks for the info JLG. However, your solution is an all or nothing option.
I would like the comments to show when the cell has focus but hide the
indicators.
Any ideas?

"JLGWhiz" wrote:

From the VBA help file:

Application.DisplayCommentIndicator = xlNoIndicator



"Paul" wrote in message
...
Is there a way to hide comment markers? If so, can they be hidden
based
on cell values or formulas? I created a worksheet where some cells are
hidden until a specified second cell contains a given value. However,
while
cell values are hidden the comment marker gives away the fact that the
cell
may contain data or serves some special function.




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 76
Default Conditionally Hiding Comment markers.

Hey, Paul,

Instead of Comments, sometimes I use the Input Message of Data Validation.
This way, the 'Comment' shows up only when the cell is selected.

There are two ways to control if the user sees the 'comment', also. First,
you can lock the cell
Range("A1").Locked = True
so the user can't get there to see it. (of course, the workbook must be
protected)

Second, you can set the validation to display (or not display) the Input
Message
Range("A1").Validation.ShowInput = True (False)
--
HTH, Brad E.


"Paul" wrote:

Is there a way to hide comment markers? If so, can they be hidden based
on cell values or formulas? I created a worksheet where some cells are
hidden until a specified second cell contains a given value. However, while
cell values are hidden the comment marker gives away the fact that the cell
may contain data or serves some special function.



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 661
Default Conditionally Hiding Comment markers.

Thanks Brad!

Although the message area is too limited for some comments this is very
helpful!
This is just what I need. Thanks again.

"Brad E." wrote:

Hey, Paul,

Instead of Comments, sometimes I use the Input Message of Data Validation.
This way, the 'Comment' shows up only when the cell is selected.

There are two ways to control if the user sees the 'comment', also. First,
you can lock the cell
Range("A1").Locked = True
so the user can't get there to see it. (of course, the workbook must be
protected)

Second, you can set the validation to display (or not display) the Input
Message
Range("A1").Validation.ShowInput = True (False)
--
HTH, Brad E.


"Paul" wrote:

Is there a way to hide comment markers? If so, can they be hidden based
on cell values or formulas? I created a worksheet where some cells are
hidden until a specified second cell contains a given value. However, while
cell values are hidden the comment marker gives away the fact that the cell
may contain data or serves some special function.

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
conditionally hiding rows Derrick Excel Discussion (Misc queries) 13 June 20th 09 05:58 PM
Conditionally Hiding Rows Llobid Excel Discussion (Misc queries) 5 April 11th 06 10:56 PM
Hiding Rows Conditionally Mike Hogan Excel Discussion (Misc queries) 2 December 9th 04 10:05 PM
Hiding Rows in EXCEL (Conditionally) Paul B[_6_] Excel Programming 0 September 14th 03 03:03 AM
Conditionally Hiding Rows Erick Excel Programming 0 July 29th 03 05:36 PM


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

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

About Us

"It's about Microsoft Excel"