- ©«¤l
- 230
- ¥DÃD
- 75
- ºëµØ
- 2
- ¿n¤À
- 337
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office 2000, 2019
- ¾\ŪÅv
- 100
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¹ü¤Æ¿¤
- µù¥U®É¶¡
- 2013-7-18
- ³Ì«áµn¿ý
- 2025-1-20
|
¥»©«³Ì«á¥Ñ linyancheng ©ó 2018-6-17 19:40 ½s¿è
¸Õ¸Õ³oÓVBA¥N½X¡A
¥i³B²zºIÂ_¦¨¨â¦æ©Î¤T¦æ¥H¤Wªº¸ê®Æ¦ê¡A
¦ý¤é´Á¤Î®É¶¡®æ¦¡¥²¶·¦³¦¹³W«ß©Ê¡C
Sub ¸ê®Æ¦ê³s()
Dim P As Paragraph
Dim timeP As Paragraph
For Each P In ActiveDocument.Paragraphs
If Left(P.Range.Text, 13) Like "??:?? - ??:??" Then
Set timeP = P
ElseIf Left(P.Range.Text, 10) Like "????-??-??" Then
'¤£³B²z
Else
If Not timeP Is Nothing Then
timeP.Range.Text = Replace(timeP.Range.Text, vbCr, "")
End If
End If
Next P
End Sub |
|