• Editing Comments (any)

    Author
    Topic
    #435918

    I have a spreadsheet with many comments thoughout, and suddenly I cannot edit some of the comments. Only a few, the other I can edit. What would cause these few to not allow me to edit them? When I right-click on the cell and select edit comment, nothing happens. Please help… Thanks.

    -tmg9671

    Viewing 0 reply threads
    Author
    Replies
    • #1031849

      Could you attach a small workbook that demonstrates the problem?

      • #1031851

        See attached. Comment 1 can be edited, but Comment 2 cannot. Thanks.

        • #1031854

          That’s weird! I can edit comment 2 by selecting its cell, choosing Show comment, moving the cursor off the cell and then back over it.
          Did you create them in different ways?

          • #1031858

            That is weird. I tried that too and it worked. I didn’t create them any differently, other than perhaps copying and pasting the comment into a different cell.

            At least I can still edit them. Thanks for your help.

            • #1031860

              This is strange – I cannot explain why it happens. The problem is mentioned in the Micorosft newsgroups, but without a clear solution.

              If you set the display option for comments to ‘Comment and indicator’, it is also possible to select the cell, then click in the comment to edit it.

            • #1031863

              When I select “show comment” from the context menu, I am able to edit Comment 2…as opposed to selecting Edit Comment from the context menu…

              Odd problem.

            • #1031866

              Yes, that is what Rory mentioned in his reply. It’s definitely a weird problem – I cannot find any relevant difference in the properties of the two cells and their comments that would explain why Edit Comment works for one, but not for the other. crazy

            • #1031868

              Well, at least there is a way to edit them. Thank you all for your help.

            • #1031865

              Try running this macro – it will basically delete and replace all your comments with “fresh ones” which seemed to help on your sample workbook:

              Sub CleanComments()
                  Dim cmt As Comment
                  Dim strComment As String
                  Dim rngCell As Range
                  Dim sglHeight As Single, sglWidth As Single
                  For Each cmt In ActiveSheet.Comments
                      With cmt
                          sglHeight = .Shape.Height
                          sglWidth = .Shape.Width
                          Set rngCell = .Parent
                          strComment = .Text
                          .Delete
                      End With
                      With rngCell
                          .AddComment strComment
                          With .Comment.Shape
                              .Height = sglHeight
                              .Width = sglWidth
                              .TextFrame.Characters.Font.Bold = True
                          End With
                          .Comment.Visible = False
                      End With
                  Next cmt
              End Sub
              

              HTH

    Viewing 0 reply threads
    Reply To: Editing Comments (any)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: