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

¦p¦óÀˬd«ü©wÀɮ׬O§_¦s¦b

¦p¦óÀˬd«ü©wÀɮ׬O§_¦s¦b

¨Ò¦p§Ú¦bA1 ¿é¤JABC, ·Q¦bB1 ³]©w¤½¦¡, ÀˬdABC.XLS ¬O§_¦s¦b©óC:\¤º
½Ð«ü±Ð

¦^´_ 1# enoch

VBA
  1. Sub filesearch()
  2. Dim MyFile As Object
  3. Dim Str As String
  4. Str = "c:\" & [A1]
  5. Set MyFile = CreateObject("Scripting.FileSystemObject")
  6. If MyFile.FileExists(Str) Then
  7.    MsgBox "¤å¥ó¤w§ä¨ì!"
  8. Else
  9.    MsgBox "¤å¥ó¤£¦s¦b!"
  10. End If
  11. End Sub
½Æ»s¥N½X

TOP

¦^´_ 1# enoch

¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

        ÀR«ä¦Û¦b : ®É®É¦n¤ß´N¬O®É®É¦n¤é¡C
ªð¦^¦Cªí ¤W¤@¥DÃD