- ©«¤l
- 1018
- ¥DÃD
- 15
- ºëµØ
- 0
- ¿n¤À
- 1058
- ÂI¦W
- 0
- §@·~¨t²Î
- win7 32bit
- ³nÅ骩¥»
- Office 2016 64-bit
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ®ç¶é
- µù¥U®É¶¡
- 2012-5-9
- ³Ì«áµn¿ý
- 2022-9-28
|
¦^´_ 4# z15935712
Àɮרt²Îªº³B²z¥i¬d¸ßFileSystemObject§ä¨ì¬ÛÃö¸ê®Æ
©³¤U¤è¦¡¨Ñ°Ñ¦Ò:- Dim s, oFs, oFile
-
- s=TextBox1.Text
- Set oFs = CreateObject("Scripting.FileSystemObject")
- If oFs.FolderExists(s) Then
- For Each oFile In oFs.GetFolder(s).Files '©Ò¦³¸Ó¸ê®Æ§¨¤UÀÉ®×
- If StrComp(Right(oFile.Path, Len(".xlsx")), ".xlsx") = 0 Then '¦pªG¬O.xlsxÀÉ®×
- 'msgbox oFile.Path
- End If
- Next
- End If
½Æ»s¥N½X |
|