Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Excel Experts,
A spreadsheet I inherited is overrun with comments which say "HIDDEN FORMULA!" and I'd like to delete all of these comments. The spreadsheet has some useful comments so I don't want to delete every comment. When I used the macro recorder to figure out the Text of these comments, I got a line back Range("A1").Comment.Text Text:="HIDDEN FORMULA!" & Chr(10) & "" So I think my code should be something like, Dim C as Comment For Each C in ActiveSheet.Comments If Comment.Text = ""HIDDEN FORMULA!" & Chr(10) & """ CellofComment.ClearComments End Sub I realize the "CellofComment" isn't the right way to reference the cell which contains the comment. Thanks in advance. Alan -- achidsey |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to ignore hidden columns in an "Average" formula? | Excel Discussion (Misc queries) | |||
Convert cell "contents" into a "comment" | Excel Discussion (Misc queries) | |||
Excel "Move or Copy" and "Delete" sheet functions | Excel Worksheet Functions | |||
how to increase size of "name box" and "contents of cell " displa. | New Users to Excel | |||
Adding "New" "Insert" "Delete" into a workbook to change from data 1 to data 2 etc | Excel Programming |