Character count in Word doc
Posted on 2003-03-05
I've the following lines in my code :
Dim Appl_Dcmt_Word As Word.Application
Dim VarO_Dcmt_Rang_Word As Range
Set VarO_Dcmt_Rang_Word = Appl_Dcmt_Word.Selection.Range
VarO_Dcmt_Rang_Word.SetRange Start:=VarO_Dcmt_Rang_Word.Start, End:=Appl_Dcmt_Word.ActiveDocument.Characters.Count
The problem is that the number of characters is too small of Appl_Dcmt_Word.ActiveDocument.Characters.Count. There are a few characters (+-10) that aren't selected.
Has somebody the same problem ???