Further, if the phrase you added included a leading space-which insertions often do-then there would be eleven words tallied for the insertion because of that space. This means that a phrase such as "as one can see, this is a great way" would be tallied as ten words instead of nine (the comma counts as a separate word). For instance, each punctuation mark in an addition is counted as a separate word. This is because of the way that words are counted. You should understand that the word count, as presented here, is an approximation. Note that the macro looks at the Words collection for each change in the document. The statistics are then presented in a message box. This macro steps through each change in the current document and separately sums word counts and character counts for both insertions and deletions. STemp = sTemp & " Characters: " & lDeletesChar & vbCrLf STemp = sTemp & " Words: " & lDeletesWords & vbCrLf STemp = sTemp & " Characters: " & lInsertsChar & vbCrLf STemp = sTemp & " Words: " & lInsertsWords & vbCrLf Here's an example:įor Each oRevision In ActiveDocument.Revisions You can, however, devise your own macro to determine the desired information. If you want actual words changed, you are unfortunately out of luck-Word provides no way to get the information desired. Similarly, if you add a phrase to your document, that addition counts as a single insertion, even if the insertion contained a complete paragraph. For instance, if you delete a phrase that consists of multiple words, that edit counts as only a single deletion in the statistics. The statistics count changes, not changed words. They fall a bit short if what you really want is a count of changed words. These statistics may seem to fit the bill, but you'll remember that I said that they provide "sort of" the information wanted. It shows statistics for the following five changes: Word displays the Reviewing Pane on-screen, and at the top of the pane is a summary of the revisions made in the document. Display the Review tab of the ribbon, then click the Reviewing Pane tool (in the Tracking group). The answer is that you can sort of get the information you want through the use of the Reviewing Pane. He needs a way to count only the words that have been changed in a document-those affected by Track Changes. Steven uses Track Changes in his documents all the time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |