![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Location: Midwest, USA
Posts: 24
|
Hello! I know you can change the comments from showing or not showing by going through options. Is there anyway to limit that function just on certain sheets... not just the entire workbook? Thanks in advance...!
|
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Helena, MT
Posts: 13,690
|
You can use the WorkSheet Activate Event to control the display.
In the module for each sheet you want to hide comments enter this code. Private Sub Worksheet_Activate() Application.DisplayCommentIndicator=0 End Sub Enter the same on sheets where you want to see the comments, changing the 0 to a 1 [ This Message was edited by: lenze on 2002-03-07 11:03 ] |
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Location: Midwest, USA
Posts: 24
|
Thank you!
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|