ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] ½Ð°Ýexcel¥i¥H±N·Q­nÀÉ®×¥þ³£²¾°Ê½Æ»s¨ì©T©w¸ê®Æ§¨¤º¶Ü?

Sub TEST()
Dim xR As Range, FS, xFile$
Set FS = CreateObject("Scripting.FileSystemObject")
For Each xR In Range([A1], [A65536].End(xlUp))
¡@¡@If xR <> "" Then
¡@¡@¡@¡@xFile = "D:\123\" & xR & "*.pdf"
¡@¡@¡@¡@If Dir(xFile) <> "" Then FS.CopyFile xFile, "D:\456\"
¡@¡@End If
Next
End Sub

TOP

        ÀR«ä¦Û¦b : ¤H¥Í¤£¤@©w²y²y¬O¦n²y¡A¦ý¬O¦³¾ú½mªº±j¥´ªÌ¡AÀH®É³£¥i¥H´§´Î¡C
ªð¦^¦Cªí ¤W¤@¥DÃD