Le 25.02.2007 02:58, Vinit Verma a écrit :
*I am using version 2.1 of OpenOffice.org. My problem is that when I take the word count in open office it only shows one word count like in MS Word it shows both with spaces word count and without spaces word count. Please let me know how to take word count without counting the spaces in the text.
No feature for this yet. But you can have a macro doing this. Here is one counting the spaces (just make the difference afterwards), taken from the French forum here : http://www.forum-openoffice.org/forum/setopic_3803-espaces.html Sub CountChar Dim oFind As Object oFind = ThisComponent.createSearchDescriptor With oFind .SearchString = " " ' or any character you want .SearchWords = false End With MsgBox "Spaces found : " & ThisComponent.findAll(oFind).count End Sub Beware, you're not subscribed to the mailing list. Hagar --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
