View Single Post
 
Old 12-12-2022, 06:32 PM
bronco9588 bronco9588 is offline Windows 10 Office 2019
Novice
 
Join Date: Dec 2022
Posts: 4
bronco9588 is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
I don't have a solution for you but will add a little explanation for others to think about.

There is a new behaviour of comments which appears in Word 365 but not in earlier versions. Now it appears that you can 'add' a comment via the GUI but until it is posted by clicking the button or pressing Ctrl-Enter then Word stores it in some intermediate mode which isn't a comment (according to VBA) although it shows alongside other comments in the comments pane. If you then try to add another new comment, the cursor returns to the un-submitted comment and won't allow new comments until you either post or delete that one. This behaviour is very annoying and not how the earlier versions of Word handled comments. I presume this is the problem that bronco9588 is trying to solve.

Recording a macro of adding comments shows that a comment gets 'added' only after it is posted and an unposted comment doesn't get recorded as an action. The unposted comment appears with the other comments but doesn't get included in the document's comment collection in VBA.
Yes, that is spot on. What I would like my macro to do is post that comment and return to the body of my document so the rest of my macros can run.
Reply With Quote