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

[µo°Ý] ½Ð°Ý¦U¦ì¥Îexcelªº°ª¤â­Ì!¦p¦ó¦¬´M«ü©wÀx¦s®æ¦ì¸mªº¸ô®|ÀÉ®×"¨ç¼Æ­n¦p¦ó³]

[µo°Ý] ½Ð°Ý¦U¦ì¥Îexcelªº°ª¤â­Ì!¦p¦ó¦¬´M«ü©wÀx¦s®æ¦ì¸mªº¸ô®|ÀÉ®×"¨ç¼Æ­n¦p¦ó³]


¦p¤W¹Ï©Ò¥Ü!¦p¦ó¦btestÀɮפ¤§ì¨úB1©Ò«ü¸ô®|¦WºÙ(test2)¨Ã¥B¦btest A3¦ì¸m¶Ç¦^test2¸ÌªºA2ÀÉ®×!
¨ä¸ô®|·|ÀHµÛB1¦ÓÅÜ°Ê,¦ý¬OÀɮצWºÙ¤Î¨ä¬Û¹ï¦ì¸m³£¬O¨Ì¼Ëªº¡A²³æªº»¡´N¬O­n±NC:\Documents and Settings\Administrator\®à­±\·s¸ê®Æ§¨§ó§ï¬°B1©ÒÅã¥Üªº¸ô®|´N¹ï¤F!
¦pªG±NB1§ó§ï¬°¨ä¥Lªº­È¡A¦Ó¸ô®|´N·|¸òµÛÅÜ!
½Ð°Ý¦U¦ì°ª¤â¡A¦¹¨ç¼Æ­n¦p¦ó¼g¡A©ÎªÌVBA¤]¥i¥H!

§Aªº¥Øªº¬O¬Æ»ò?
¶W³sµ²?ÁÙ¬O­n¦b¤½¦¡¤º¤Þ¥Î¸ô®|«ü©wÀɮרú­È?
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 2# Hsieh


    §Ú­n¨ú¨º­Ó¸ô®|ªº­È¡A¦]¬°­n±q¹q¸£¸Ìª½±µ§ì¨ú¸ê®Æ¡A·í¹q¸£¨C¦¸¶]§¹¤§«á¡AÀÉ®×·|¦s¦b¤£¦Pªº¸ê®Æ§¨¤¤¡A¦ý¬OÀɦW¤ÎÀɮצì¸m³£¬O¨Ì¼Ëªº¡A©Ò¥H¤~·Q¬Ý¬Ý¡A¯à¤£¯à¥u¦b¦P¤@®æÀx¦s®æ¤¤§ó´«¸ô®|¦WºÙ´N¦n¡A´N¯àª¾¹D¨ä¸Ì­±¤º®eªº­È©ÎªÌ¸ê®Æ!

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2011-4-12 21:29 ½s¿è

¨ú±o·í«eÀɮץؿý
B1=LEFT(CELL("filename",B1),FIND("[",CELL("filename",B1))-1)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 4# Hsieh


   ¤£¦n·N«ä~§ÚÁÙ¬O¬Ý¤£¤ÓÀ´!
¦pªG§Ú­n¦btestªºA3±o¨ìB1¸ô®|(C:\Documents and Settings\Administrator\®à­±\·s¸ê®Æ§¨)¤¤ªºtest2ÀɮתºA2­È(1)¡A§Ú­n¦p¦ó³]??
¥¿±`ªº¸Ü¬O¦bA3¿é¤J='C:\Documents and Settings\Administrator\®à­±\·s¸ê®Æ§¨\[test2.xlsx]Sheet1'!$A2¡A§Y¥i±o¨ì¨ä­È1
¦pªG§Ú­n±N='C:\Documents and Settings\Administrator\®à­±\·s¸ê®Æ§¨\[test2.xlsx]Sheet1'!$A2¡A¨º¬qªº¸ô®|´«¦¨B1ªº¸ô®|¨ºA3ªº¨ç¼Æ­n¦p¦ó§ó§ï?¤~·|±o¨ì¨º­Ó­È1??

TOP

©Î³\§A­nªº¬O³o­Ó
indirect(B1&"[test2.xlsx]Sheet1'!$A2")
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¤S¦h¾Ç¤F¤@­Ó¨ç¼Æ
·PÁ¤À¨É
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

¦^´_ 7# Hsieh


  §Ú¨Ì¦¹¾Þ§@³]©w¥i¬OµLªk¦¨¥\­C!¨ä¥L¤H´ú¸Õ³£¦¨¥\¶Ü?
YOYO

TOP

¦^´_ 10# yanto913


   ¥i¥H¤W¶Ç±z©Ò¿×ªº µLªk¦¨¥\ªºÀɮ׶Ü??
¤£µM«ÜÃøÅý¤HÀ°§U¨ì±z

TOP

¥»©«³Ì«á¥Ñ jimmuLu ©ó 2011-5-12 11:16 ½s¿è

¦^´_ 7# Hsieh


    ª©¤j

§Ú¨Ì·Ó¨ç¦¡¥h¼g¡A¦n¹³¦æ¤£³q¡A·Ð½ÐÀ˵ø¤@¤U¡A·PÁÂÅo



¦n¹³¬O®t¤F  '    §a

!XLS¸ê®Æ§¨.zip (9.58 KB)

TOP

        ÀR«ä¦Û¦b : ¯à·F¤£·F¡A¤£¦p­W·F¹ê·F¡C
ªð¦^¦Cªí ¤W¤@¥DÃD