¥HÀx¦s®æ¤º®e¨M©w¡A¶}±ÒþÓ¥~³¡ÀÉ®×
- ©«¤l
- 4
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 50
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- 10
- ¾\ŪÅv
- 20
- µù¥U®É¶¡
- 2016-3-9
- ³Ì«áµn¿ý
- 2019-2-9
|
¥HÀx¦s®æ¤º®e¨M©w¡A¶}±ÒþÓ¥~³¡ÀÉ®×
½Ð°Ý
¦ba1Àx¦s®æ¥´¤J1¡A«h¶}±Ò1.txtªº¤å¦rÀÉ¡A
¦ba2Àx¦s®æ¥´¤J2¡A«h¶}±Ò2.txtªº¤å¦rÀÉ¡A
ªº¥¨¶°¦p¦ó¼g¡A½Ð¤£§[«ü±Ð¡AÁÂÁ¡I |
|
|
|
|
|
|
- ©«¤l
- 7
- ¥DÃD
- 2
- ºëµØ
- 0
- ¿n¤À
- 47
- ÂI¦W
- 0
- §@·~¨t²Î
- Windows 10
- ³nÅ骩¥»
- Office2013
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2016-4-15
- ³Ì«áµn¿ý
- 2017-8-15
|
¦^´_ 1# 2ka
- Private Sub CommandButton1_Click()
- Dim n As Integer
- Dim Load, Name As String
- Dim myArr()
- n = Cells(1, 1).End(xlDown).Row - 2
- ReDim myArr(n - 1)
- Load = Cells(1, 2)
- Name = Cells(2, 2)
- Set fs = CreateObject("Scripting.FileSystemObject")
- For i = 0 To n - 1 'Àɮ׬O§_¦s¦b
- myArr(i) = Load & "\" & Cells(i + 3, 1) & Name
- If fs.FileExists(myArr(i)) Then
- Check = 1
- Else
- ii = ii + 1
- Check = 0
- MsgBox "Àɮ׸ô®|orÀɮצWºÙ¿ù»~" & vbCrLf & "(" & ii & ") " & myArr(i) & " ¤£¦s¦b" 'Àɮפ£¦s¦b"
- End If
- Next
- If Check = 1 Then
- For i = 0 To n - 1
- Workbooks.Open Filename:=myArr(i)
- Next
- Else
- End If
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|