Word 2013 - Remove all comments

Is there a way to remove ALL comments within a particular document? (e.g. if I have inserted 20?)

If not, perhaps there's another way to accomplish what I need to do. When I was away on vacation, I hand-wrote a number of additions to the document (a novel) in a notebook. I tagged each addition with a letter A, B, C, etc, noting the letter on both the hardcopy of the manuscript, and the notebook.

My next steps is to type the additions into a separate document, again tagged with A, B,, C. I want to insert the same tags into my manuscript...but eventually remove them when I'm ready to merge these additions into the manuscript.

Reason for the above is that I'm in the middle of a previous iteration of the manuscript (Draft 26) and do not wish to enter the changes for Draft 27 until I'm done with Draft 26, which may be a while; however, I want to get them onto my hard drive in the interim.

Thanks,
Steve
LVL 4
Stephen KairysTechnical Writer - ConsultantAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GrahamSkanRetiredCommented:
Try this simple (hopefully not simplistic) macro
Sub DelComms()
    Dim cm As Comment
    
    For Each cm In ActiveDocument.Comments
        cm.Delete
    Next cm
End Sub

Open in new window

0
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
Thanks, Graham. Will try later today.
0
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
OK silly question of the day.  :)

Where in the UI do I insert macro text (as opposed to RECORDING a macro?)

Thanks.
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

GrahamSkanRetiredCommented:
Open the VBA IDE with Alt+F11.
The Project browser is in the left hand pane. If you have recorded any macros they will be in Normal>Modules>NewMacros. You can open this module by double-clicking the name. Otherwise you can add another module from the menu: Insert>Module. Paste the code in. To run it, click on the code to put the text cursor in the macro and then press F5.
0
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
OK, that worked...but when i save my DOCX file, I see...
Saving doc with macros
(I'd love to be able to save the macro so it's available for ALL docs, btw.)

Thanks.
0
GrahamSkanRetiredCommented:
It sounds as if you have put the macro in the document's macro project rather than the Normal template's macro project.

Use the Project explorer to check that out.

As you get more into VBA macros you may need to store code into a particular Template, but it is rare to have macro code in a Document.
0
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
OK, so how can I quickly insert this macro into the Normal template? Tks.
0
GrahamSkanRetiredCommented:
Open the VBA IDE with Alt+F11
With the menu, do Insert, Module.
Find Module1 in Project Explorer (top, left pane)  and double-click to open it.
Copy and the Paste the text Into the text pane (top, right).
Make sure that your target document is open and is selected.
Put the text cursor in the macro and press F5.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
Do you mean NORMAL.DOT by the target doc?
Thanks.
0
GrahamSkanRetiredCommented:
I meant that you should have the document with the comments open in Word. Also it should be the active document.
0
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
OK, it's pasted into Module1, but how do I save and go back to the open doc? Simply click the red X?

Insert a Module
Thanks.
0
GrahamSkanRetiredCommented:
The Word document window will still be open, so you jst need to show it. Closing the VBA editor by clicking on the cross ushould do it. You could also minimise it; or you could switch back using Alt+F11again - and not forgetting the Windows Alt+tab keystrokes to switch between all the open windows.
0
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
OK! That worked but still getting:
Macro warning
How can I save w/o incurring this error?
Thanks for all your patient help.
0
GrahamSkanRetiredCommented:
If your code is in the document, then saving it will drop the code, as the message says. So I suggest that you do that. If the code is also in the Normal template, then nothing has been lost. If it isn't and you want to run the code more times, then make sure that the code is put in a module of the Normal template.
0
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
At this point, I can live with running the code only once as it's not something that will happen frequently. I'll just save it off as a doc somewhere and paste it in again as needed. (If needed! :) )
0
Stephen KairysTechnical Writer - ConsultantAuthor Commented:
Comment accepted with the caveat that I did not save it in my document.

Graham, thanks again for your help!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Word

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.