Bonjour à tous,
Tout est dans le titre, je n'arrive pas à filtrer sur plusieurs langues, je souhaite faire un truc du genre:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 Private Function RemoveDicoWords(myText() As String) As String() Dim newText() As String Dim j As Integer j = 0 Dim n As Integer n = UBound(mytext) ReDim newText(n) For i = 0 To n If Not Application.CheckSpelling(myText(i), Languages(wdEnglishUS)) And Not Application.CheckSpelling(myText(i), Languages(wdFrench)) Then newText(j) = myText(i) j = j + 1 End If Next RemoveDicoWords = newText End Function
Mais la syntaxe du Checkspelling ne vas pas
Partager