msword
Board Regular
- Joined
- Oct 23, 2020
- Messages
- 54
- Office Version
- 2019
- Platform
- Windows
- MacOS
Hi. I work with comments everyday and disability to
1. set default font/size
2. non-changable positioning outside the viewport
ruins everything. I am even thinking to switch to another piece of software just because of this. After some googling I discovered that comments section code base not changed since 80's, thus fix of the mentioned bugs are not expected in the next 5-10 years. As a guy that never wrote a line of code, I wonder is there any chance to fix this using VBA or something?
I tried to run this code:
but getting the error message:
I suppose that mentiong that I am sitting on the macos version of Excel is also important.
Thanks.
1. set default font/size
2. non-changable positioning outside the viewport
ruins everything. I am even thinking to switch to another piece of software just because of this. After some googling I discovered that comments section code base not changed since 80's, thus fix of the mentioned bugs are not expected in the next 5-10 years. As a guy that never wrote a line of code, I wonder is there any chance to fix this using VBA or something?
I tried to run this code:
VBA Code:
Sub FormatAllComments()
'Updateby20140509
Dim xWs As Worksheet
Dim xComment As Comment
For Each xWs In Application.ActiveWorkbook.Worksheets
For Each xComment In xWs.Comments
With xComment.Shape.TextFrame.Characters.Font
.Name = "Times New Roman"
.Size = 33
End With
Next
Next
End Sub
I suppose that mentiong that I am sitting on the macos version of Excel is also important.
Thanks.