Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub Comments1()
'
' Comments Macro
' Keyboard Shortcut: Ctrl+m
'
Dim r As Long
Dim c As Integer
Dim Text As String
Application.DisplayCommentIndicator = xlCommentAndIndicator
On Error GoTo ErrorResolution:
With ActiveSheet.UsedRange
For r = .Row To .Row + .Rows.Count - 1
For c = .Column To .Columns.Count - 1
Select Case c
Case 3: c1 = "K"
Case 4: c1 = "L"
Case 5: c1 = "M"
Case 6: c1 = "N"
Case 10: c1 = "O"
End Select
Cells(r, c1).Value = Cells(r, c).Comment.Text
Next
Next
End With
ErrorResolution:
Text = ""
Resume Next
End Sub
NewText Replace(CurrentText, vbCr, "")
NewText Replace(NewText , vbLf, "")