- ©«¤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
|
¦^´_ 2# n7822123
¸Õ¸Õ¬Ý- Option Explicit
- Sub §ó§ïÀɦW()
- Dim n´À´« As String
- Dim ´À´«¬° As String
- Dim °ÆÀɦW As String
- Dim myFile As String
- Dim myPath As String
- Dim ÂÂÀɦW As String
- Dim ·sÀɦW As String
- n´À´« = Cells(4, 3)
- ´À´«¬° = Cells(4, 4)
- °ÆÀɦW = Cells(4, 5)
- myPath = ThisWorkbook.Path
- myFile = Dir(myPath & "\*." & °ÆÀɦW)
- Do While myFile <> "" '=>If myFile = "" Then Exit Do
- If myFile <> ThisWorkbook.Name Then
- ÂÂÀɦW = myPath & "\" & myFile
- ·sÀɦW = Replace(myFile, n´À´«, ´À´«¬°)
- ·sÀɦW = myPath & "\" & ·sÀɦW
- Name ÂÂÀɦW As ·sÀɦW
- End If
- myFile = Dir '¤U¤@ÓÀÉ®×:
- Loop
- End Sub
½Æ»s¥N½X |
|