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

excel¦ì¸m°ÝÃD

excel¦ì¸m°ÝÃD

¦p¦ó¼g  ¤@¶}excel®É §ä¥X³o­Óexcelªº¦ì¸m¦bA1¥X (C\:XXXXXX)
½Ð¤j¤j«ü¾É.
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

¦^´_ 1# basarasy


    ¦bA1¼g¤½¦¡
=SUBSTITUTE(LEFT(CELL("filename",A1),FIND("]",CELL("filename",A1))-1),"[","")
¦pªG¼gµ{¦¡
  1. Private Sub Workbook_Open()
  2. Sheets(1).[A1] = ThisWorkbook.FullName
  3. End Sub
½Æ»s¥N½X
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ kimbal ©ó 2010-7-20 22:12 ½s¿è
¦p¦ó¼g  ¤@¶}excel®É §ä¥X³o­Óexcelªº¦ì¸m¦bA1¥X (C\:XXXXXX)
½Ð¤j¤j«ü¾É.
basarasy µoªí©ó 2010-7-20 21:42


  ¸òheish¤jªº®t¤£¦h, ³o­Ó¬O¦^¶Ç¤å¥ó§¨
  1. Private Sub Workbook_Open()
  2.       range("A1") = thisworkbook.path
  3. End Sub
½Æ»s¥N½X
À´±oµo°Ý,µª®×´N·|¦b¨ä¤¤

¤µ¤éの¤@¬íは  ©ú¤éにない
http://kimbalko-chi.blogspot.com
http://kimbalko.blogspot.com

TOP

¥»©«³Ì«á¥Ñ basarasy ©ó 2010-7-20 22:59 ½s¿è

¦^´_ 2# Hsieh


    ÁÂÁ±j¤jªºHsieh¤j¤j¦Pkimbal¤j¤j><
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

        ÀR«ä¦Û¦b : ¡i¦æµ½­n¤Î®É¡j¦æµ½­n¤Î®É¡A¥\¼w­n«ùÄò¡C¦p¿N¶}¤ô¤@¯ë¡A¥¼¿N¶}¤§«e¤d¸U¤£­n°±º¶¤õ­Ô¡A§_«h­«¨Ó´N¤Ó¶O¨Æ¤F¡C
ªð¦^¦Cªí ¤W¤@¥DÃD