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

½Ð°Ý¦p¦ó¦ÛÀɮ׸ô®|ªº¦r¦ê¤¤¡A©î¥X¸ô®|©MÀɦW?

¦^´_ 1# examsuper
    Windows("F:\§Úªº¤å¥ó\9908\filename.xls").Activate   §ï¦¨¦p¤U
    Workbooks.Open("F:\§Úªº¤å¥ó\9908\filename.xls").Activate
  1. Sub Ex()
  2.     Dim file$, Ar
  3.    file = "F:\§Úªº¤å¥ó\9908\filename.xls"
  4.     Ar = Split(file, "\")
  5.     strDir = Replace(file, Ar(UBound(Ar)), "")
  6.     strFile = Ar(UBound(Ar))
  7.     ChDir strDir
  8.     Workbooks.Open (strFile)
  9. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¤Ó¶§¥ú¤j¡B¤÷¥À®¦¤j¡B§g¤l¶q¤j¡A¤p¤H®ð¤j¡C
ªð¦^¦Cªí ¤W¤@¥DÃD