#1   Report Post  
Deb
 
Posts: n/a
Default 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   Report Post  
Jason Morin
 
Posts: n/a
Default

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   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell comment boxes shouldn't change size/shape unless changed by u sam Excel Discussion (Misc queries) 1 March 3rd 05 05:23 PM
New Excel Comment Box Issue elai Excel Discussion (Misc queries) 3 February 23rd 05 01:09 AM
Comment Indicators ????? Excel Discussion (Misc queries) 1 December 4th 04 12:45 AM
comment indicators should feature lock or pw protect limiting acc. summer_rose Excel Worksheet Functions 1 December 3rd 04 07:02 AM
a comment plugin & copy paste directly from excel to comment ? fr. RFM Excel Worksheet Functions 0 December 1st 04 11:29 PM


All times are GMT +1. The time now is 12:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"