LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,718
Default problem with Excel 2007 comments

Re #1 I think the comments' Move And Size with Cells setting gets turned on
somehow. After that comments move and resize when columns and rows are
inserted, etc.

You could run this macro to restore all comments to their default position
and size..

Sub RestoreComments()
Dim AllCommentCells As Range
Dim Cell As Range
Dim LastCol As Integer
LastCol = ActiveSheet.Columns.Count
On Error GoTo NoComments
Set AllCommentCells = Cells.SpecialCells(xlCellTypeComments)
On Error GoTo 0
For Each Cell In AllCommentCells
With Cell.Comment.Shape
.Width = 96
.Height = 55.5
If Cell.Row = 1 Then
.Top = Cell.Top + 5
Else
.Top = Cell.Top - 7.25
End If
If Cell.Column < (LastCol - 3) Then
.Left = Cell.Offset(0, 1).Left + 11.25
Else
.Left = Cell.Offset(0, (LastCol - Cell.Column) - 3).Left
End If
.Placement = xlFreeFloating
End With
Next
Exit Sub
NoComments:
MsgBox "No comments in sheet"
End Sub

--
Jim
wrote in message
...
|I have 2 problems with comments in Excel 2007.
|
| 1. Sometimes after I come back to a comment and choose edit, the edit
| box is so far away from the actual cell I have to scroll around
| following the line that connects to it - sometimes miles across the
| spreadsheet in the middle of nowhere. Why does the comment box move so
| much? It displays in the right place if you hover the mouse over it.
|
| 2. Sometimes I edit a comment I have put there myself by right
| clicking and choosing Edit Comment. Nothing happens. If I right click
| and choose Show Comment, then hover, it will pop up, but again often
| far away from the cell.
|
| Any ideas why? It makes working with comments very annoying....
|
| Thanks

 
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
Excel 2003 comments lost in Excel 2007 cubjim Excel Discussion (Misc queries) 1 November 19th 08 01:45 PM
how do i change default font for comments in excel 2007? andy f Excel Discussion (Misc queries) 1 September 24th 08 06:25 AM
More to do with COMMENTS in Excel 2007 pcor New Users to Excel 2 August 6th 07 10:52 PM
Problem with comments jacob.metcalfe Excel Discussion (Misc queries) 0 September 9th 05 12:32 PM
Comments problem [email protected] Excel Discussion (Misc queries) 3 July 22nd 05 07:18 PM


All times are GMT +1. The time now is 12:34 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"