Cell comments

Sahak

Well-known Member
Joined
Nov 10, 2006
Messages
1,008
Office Version
  1. 2016
  2. 2013
  3. 2011
  4. 2010
  5. 2007
Hi all
I work on Excel 2016. Lately I find out that on worksheet, where I have many comments on cells, all previously hided comments after a while, (to be honest I have no idea after what taken action or how long time it takes), all cells having comments, become visible (not hidden), any idea?

Also, is there any way or VBA code to hide comments on more than one cell at once.

Thank you in advance.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
This will hide all your active sheet's comments at once per your last sentence that begins with Also.

I could not understand exactly what that first paragraph means.

Code:
Sub HideAllComments()
Dim intCellCount%, cell As Range
On Error Resume Next
intCellCount = Cells.SpecialCells(1).Count
If Err.Number <> 0 Then
Err.Clear
Exit Sub
Else
For Each cell In Cells.SpecialCells(1)
cell.Comment.Visible = False
Next cell
End If
End Sub
 
Upvote 0
Thank you Tom very much for your help (including the code to hide all comments (y))
In first paragraph I mean: I'm hiding all comments, but somehow after wile, they become visible automaticaly it selfs, maybe something was changed in Excel Options (settings) :unsure:
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top