- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
        
|
¦^´_ 4# PKKO
¸Õ¸Õ¬Ý- Option Explicit
- Sub Ex()
- Dim s As String, n As Integer
- s = "TEST"
- With Selection.Find
- .Text = s
- .Replacement.Text = ""
- .Forward = True
- .Wrap = wdFindContinue
- .Format = False
- .MatchCase = False
- .MatchWholeWord = False
- .MatchByte = True
- .MatchWildcards = False
- .MatchSoundsLike = False
- .MatchAllWordForms = False
- End With
- Do While Selection.Find.Execute = True
- n = n + 1
- Selection.Find.Execute
- Loop
- If n > 0 Then
- MsgBox "·j´M " & s & " ¦@¦³ " & n & " ¦¸"
- Else
- MsgBox "·j´M¤£¨ì " & s
- End If
- End Sub
½Æ»s¥N½X |
|