ªð¦^¦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 : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD