A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Dear York Lin,
Thank you for posting your question in the Microsoft Q&A forum.
I understand that technical issues can be frustrating, and I’d love to help you resolve this. Before giving you the best solution, could you please confirm these questions below to help me diagnose the issue more effectively:
- Are you using the same version of Excel on both the old and new computers?
- Is it happened on the Excel Online? Have you tried on this?
- Are these modern threaded comments or legacy notes (the kind that appear when you hover over a cell)?
- Are the comments completely off-screen, or just misaligned/resized?
- If possible, please kindly provide a screenshot to help us diagnose the issue more effectively.
Based on your descriptions, here are some steps I recommend you try:
Step 1: Open your Excel file.
Step 2: Press Alt + F11 to open the VBA editor.
Step 3: Choose View > Code
Step 4:
1. Put Comments/Note Back in Place
Sub ResetComments()
Dim cmt As Comment
For Each cmt In ActiveSheet.Comments
cmt.Shape.Top = cmt.Parent.Top + 5
cmt.Shape.Left = _
cmt.Parent.Offset(0, 1).Left + 5
Next
End Sub
2. Get Comments/Note Back in Shape
Sub Comments_AutoSize()
'posted by Dana DeLouis 2000-09-16
Dim MyComments As Comment
Dim lArea As Long
For Each MyComments In ActiveSheet.Comments
With MyComments
.Shape.TextFrame.AutoSize = True
If .Shape.Width > 300 Then
lArea = .Shape.Width * .Shape.Height
.Shape.Width = 200
' An adjustment factor of 1.1 seems to work ok.
.Shape.Height = (lArea / 200) * 1.1
End If
End With
Next ' comment
End Sub
Step 5: Press F5 to run the macro.
I hope this information is helpful. Please follow these steps and let me know if it works for you. If not, we can work together to resolve this.
I'm looking forward for your reply.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.