S
Shyla
Hi,
I am trying to get the word count for the inserted text using Track
changes as "ON" in the word document.
The text on the document i have added is "Hello world".
When i am trying to get the count on macro then it is showing 1, but i
have inserted two words.
Please help me if you know how to get the count for the inserted text.
My code is like this
**********************************
Dim mySection As Section
Dim iCount As Integer
For Each mySection In ActiveDocument.Sections
iCount = iCount + mySection.Range.Revisions.Count
Next
MsgBox "Count is " & iCount
**********************************
Thanks
Shyla
I am trying to get the word count for the inserted text using Track
changes as "ON" in the word document.
The text on the document i have added is "Hello world".
When i am trying to get the count on macro then it is showing 1, but i
have inserted two words.
Please help me if you know how to get the count for the inserted text.
My code is like this
**********************************
Dim mySection As Section
Dim iCount As Integer
For Each mySection In ActiveDocument.Sections
iCount = iCount + mySection.Range.Revisions.Count
Next
MsgBox "Count is " & iCount
**********************************
Thanks
Shyla