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

[µo°Ý] ÅÜ°ÊÀɦW¤§¤£¦PÀÉ®×Ū­È°ÝÃD

[µo°Ý] ÅÜ°ÊÀɦW¤§¤£¦PÀÉ®×Ū­È°ÝÃD

½Ð°Ý¤@¤U¤p§Ì¥Ø«e¹J¨ì¤@­Ó°ÝÃD¥d¦í¤F
¤p§Ì¥Ø«e¦³¤@­Óa.xlsmÀÉ
¨ä¤¤aÀɤu§@ªí1ªºA1Àx¦s®æ¬°¤â°Ê¥´¤J¤@¦WºÙ¨Ò¦p A(20151001)
¦Ó³o­Ó¦WºÙ A(20151001)·|­è¦n¹ïÀ³¤@­ÓexcelÀÉ¡A¨ä¦WºÙ´N¬O A(20151001).xlsm
½Ð°Ý¤@¤U¦pªG­n¦baÀɤu§@ªí1ªºB1Åã¥ÜA(20151001).xlsmªºA1Àx¦s®æªº­È®É
¤p§Ì¦bB1¸Ì¼g¤J ='D:\¸ê®Æ\[A(20151001).xlsm]¤u§@ªí1'!$A$1
³o¼Ë½T¹ê¥i¥HŪ¨ì¼Æ­È
¦ý°ÝÃD´N¬O¨C¦¸³£­n¦Û¤v¤â°Ê¥´¤WÀɦW@@~~~
½Ð°Ý¦³¿ìªkÅý¥L¦Û¤vŪ¨úaÀɪºA1Àx¦s®æ­È·í§@ÀɦW¥hŪ¨ú¸ô®|¤UªºÀɦW¶Ü
¤p§Ì³o¼Ë¼g¤@ª½Åã¥Ü¿ù»~
="'D:\¸ê®Æ\[" & workbooks(aÀÉ).worksheets(¤u§@ªí1).cell(1.1) & ".xlsm]"¤u§@ªí1'!$A$1
½Ð°Ý¸Ó¦p¦ó§ï¼g@@~~~
Àµ½Ð«ü¾É
·P®¦

¦^´_ 1# pideo


    Range("B1") = "='D:\¸ê®Æ\[" & [a1] & ".xlsm]¤u§@ªí1'!$A$1"

TOP

¦^´_ 2# lpk187


    ·PÁ«ü¾É
¦ý¤p§Ì¨Ï¥Î«áÁÙ¬O¦³ºÃ°Ý½Ð±Ð¤@¤U
¥ý«e¨Ï¥Î¤p§Ìªº¼gªk®É¥i¥H¨ú±oŪ­È12¡A¦ýµLªkÀHÀx¦s®æ¸ê®ÆÅܰʦӦ۰ÊÅܰʨúÀɤ§ÀɦW
¦bA1Àx¦s®æ¸Ìª½±µ¥´¤J ='D:\1\[1.xlsm]¤u§@ªí1'!$A$1
ª¬ªp¦p¤U¹Ï


¦Ó¨Ï¥Î¤j¤jªº¤è¦¡«á½T¹ê¥i¥HÀHÀx¦s®æ¸ê®ÆÅܰʦӧïÅܨúÀÉÀɦW¡A¦ý¬O¥i¥H¬Ý¨ì¦b¸ÓÀx¦s®æ«o¥uÅã¥Ü¥X³o¬q¤å¦r¦Ó«DÀɮפ§¼Æ­È
= "='D:\1\[" & E1 & ".xlsm]¤u§@ªí1'!$A$1"


½Ð°Ý¤@¤U¬O¤£¬O¤p§Ì¦³­þÃä§Ë¿ù¤F
·P®¦

TOP

¦^´_ 3# pideo


    = "='D:\1\[" & E1 & ".xlsm]¤u§@ªí1'!$A$1"
¿ù¦bE1
E1¬°Àx¦s®æ¡A¥²¶·­n¥Î¤¤¬A¸¹[E1]
= "='D:\1\[" & [E1] & ".xlsm]¤u§@ªí1'!$A$1"

TOP

¦^´_ 4# lpk187

½Ð°Ý¤@¤U§Ú¦³¸Õ¹L¥[­Ó[ ]¤¤¬A¸¹
¦ý¬O«o·|Åã¥Ü³o¡AµM«á­n§Ú­×¥¿

TOP

¦^´_ 5# pideo


    ¥i¥H§âÀɮשε{¦¡PO¦¡¤W¨Ó¬Ý¬Ý¶Ü¡H¥ú¬O³o¼Ë¬Ý¡A§Ú¤]¤£ª¾°ÝÃD¦b­þ¡H

TOP

¦^´_ 6# lpk187
¤w¤U´N¬O¤p§ÌªºÀÉ®×
Àµ½Ð¨ó§U·P®¦
¸ê®Æ.rar (18.88 KB)

TOP

¦^´_ 7# pideo


    ¬Ý¨Ó§Ú¬O»~·|§Aªº·N«ä¤F¡A­ì¨Ó§A¤£¬O¥ÎVBA¥Î¨Ó¼g¤Jªº¡I
¯u©êºp¡A§Ú¤W­±ªº¦^µª¡A³£¬O¥HVBA¨Óªí¥Ü¡A¤â¥´¤JÀx¦s®æ¥ÎÅܼơA§ÚÁÙ¯uªº¤£·|¡I
¤£¹L«áÁÙ¬O¶K¤WVBAªº¼gªk
Public Sub exx()
Range("E4") = "='D:\¸ê®Æ\[" & [E1] & ".xlsm]¤u§@ªí1'!$A$1"
End Sub

TOP

¦^´_ 8# lpk187
ÁÙ¬O·PÁ«ü¾É:D
¥Ø«eÁÙ¬O·d¤£À´¬°¦ó¤£¯àª½±µ©ñ¤JÀx¦s®æ

TOP

¦^´_ 8# lpk187

¤p§Ì²{¦b§ï¥Îvba¨Ó§Ë¤F
¦ý¤S¹J¨ì¤@­ÓÃøÃD´N¬O¦pªG¬O½d³ò¿ï¨úªº¸Ü²Ä¤@­ÓÀɮ׿ï¨ú¨S°ÝÃD¦ý¨ì²Ä¤G­Ó®É¦ì¸m´N·|¥X¿ù
¨Ò¦p
sub xxx()      
        Range("A1:E5") = "='D:\¸ê®Æ\[ÀÉ®×1.xlsm]¤u§@ªí1'!$A$1:$E$5"
        Range("A6:E10") = "='D:\¸ê®Æ\[ÀÉ®×1.xlsm]¤u§@ªí2'!$A$1:$E$5"
        Range("A11:E15") = "='D:\¸ê®Æ\[ÀÉ®×1.xlsm]¤u§@ªí3'!$A$1:$E$5"
end sub
A1:E5Åã¥Üªº¬O¥¿½Tªº
¦ý³o®ÉA6:E15¥þ³£Åã¥Ü¿ù»~#VALUE!
½Ð°Ý¤p§Ì­þ§Ë¿ù¤F
Àµ½Ð«ü¾É
·P®¦

TOP

        ÀR«ä¦Û¦b : ¦³¤ß´N¦³ºÖ¡A¦³Ä@´N¦³¤O¡A¦Û³yºÖ¥Ð¡A¦Û±oºÖ½t¡C
ªð¦^¦Cªí ¤W¤@¥DÃD