+ Reply to Thread
Results 1 to 3 of 3

Comment Indicators

  1. #1
    Deb
    Guest

    Comment Indicators

    Something has happened to a spreadhseet whereby all the comments have really
    long indicators spreading down over multiple cells. How can these be
    corrected without doing each one at a time?
    Thanks for help
    D

  2. #2
    Jason Morin
    Guest

    Re: Comment Indicators

    Try running this macro:

    Option Explicit
    Sub ResetComments()
    Dim ws As Worksheet
    Dim CmmtRng As Range
    Dim cell As Range
    Dim CopyTxt As String

    Set ws = ActiveSheet
    Set CmmtRng = ws.Cells.SpecialCells(xlCellTypeComments)

    For Each cell In CmmtRng
    With cell
    CopyTxt = .Comment.Text
    .Comment.Delete
    .AddComment
    .Comment.Text Text:=CopyTxt
    .Comment.Visible = True
    End With
    Next

    End Sub

    ---
    To run, press ALT+F11, go to Insert > Module, and paste
    in the code above. Press ALT+Q to close. Go to Tools >
    Macro > Macros.

    HTH
    Jason
    Atlanta, GA

    >-----Original Message-----
    >Something has happened to a spreadhseet whereby all the

    comments have really
    >long indicators spreading down over multiple cells. How

    can these be
    >corrected without doing each one at a time?
    >Thanks for help
    >D
    >.
    >


  3. #3
    Debra Dalgleish
    Guest

    Re: Comment Indicators

    There's sample code here to reset the comments:

    http://www.contextures.com/xlcomments03.html#Reset

    Deb wrote:
    > Something has happened to a spreadhseet whereby all the comments have really
    > long indicators spreading down over multiple cells. How can these be
    > corrected without doing each one at a time?
    > Thanks for help
    > D



    --
    Debra Dalgleish
    Excel FAQ, Tips & Book List
    http://www.contextures.com/tiptech.html


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1