¼ÐÃD:
[µo°Ý]
¤½¦¡ùر`¼Æ´«¦¨°Ñ·Ó,¥¢±Ñ??
[¥´¦L¥»¶]
§@ªÌ:
mhl9mhl9
®É¶¡:
2013-8-24 02:12
¼ÐÃD:
¤½¦¡ùر`¼Æ´«¦¨°Ñ·Ó,¥¢±Ñ??
¥»©«³Ì«á¥Ñ GBKEE ©ó 2013-8-25 16:17 ½s¿è
¤S·Q½Ðª©¥DÌÀ°À°¤F,¥H¤U¤@±ø¤½¦¡¦p¦ó±N "01" ´«¦¨°Ñ·Ó RC[-1] ?
'=INDIRECT('01'!R47C" & MATCH(RC[-2],'01'!R2,0),FALSE)''''''''''''''''''ok,¥i¥H¥Î
§â²Ä¤@Ó '01' ´«¦¨°Ñ·Ó RC[-1],Åܦ¨
'=INDIRECT(RC[-1]&"!R47C" & MATCH(RC[-2],'01'!R2,0),FALSE)''''''¤]ok,¥i¥H¥Î
¦ý§Ú§â²Ä¤GÓ '01'¤]´«¦¨°Ñ·Ó RC[-1],Åܦ¨
=INDIRECT(RC[-1]&"!R47C" & MATCH(RC[-2],RC[-1]&"!R2",0),FALSE)''''''¤£¯à¥Î!!!
§Ún¦bsheets("01")¨½§ä¥X R47C3,¦ý¨ä¤¤ªº"3"n¾a match ¦bsheets("01")ªº²Ä2¦C¨½§ä¨ì¦ì¸m¤~±o¨ì²Ä3Äæ
À°¥DÌ,¨D±Ï¤F,ÁÂÁÂ
§@ªÌ:
kimbal
®É¶¡:
2013-8-25 15:26
send ¤@¤UEXCEL¤W¨Ó·|¤ñ¸û²M·¡
§@ªÌ:
GBKEE
®É¶¡:
2013-8-25 16:17
¦^´_
1#
mhl9mhl9
¿ý»s¥¨¶° : ¦b¤u§@ªí¤W¼g¤U³o¤½¦¡,¬Ý¬ÝVBA¬O¦p¦ó¼gªº!!
§@ªÌ:
mhl9mhl9
®É¶¡:
2013-8-25 18:05
[attach]15850[/attach]
¦^´_
3#
GBKEE
Range("C5").Select
ActiveCell.FormulaR1C1 = _
"=INDIRECT(RC2&""!R47C"" & MATCH(RC1,'01'!R2,0)+COLUMN(R[-1]C[-2])-1,FALSE)"
¥H¤W¬O¿ý»sªºvba,n§â '01' ´«¦¨ RC2 ´N¬O¤£¦æ.
§@ªÌ:
GBKEE
®É¶¡:
2013-8-26 15:26
¦^´_
4#
mhl9mhl9
"=INDIRECT(RC2&""!R47C"" & MATCH(RC1,INDIRECT(RC2&""!$2:$2""),0)+COLUMN(R[-1]C[-2])-1,FALSE)"
½Æ»s¥N½X
§@ªÌ:
mhl9mhl9
®É¶¡:
2013-8-26 18:06
¦^´_
5#
GBKEE
ÁÂÁ§A,GBKEE,§Úªº¿ù»~¬Omatchªº²Ä¤GӰѼƫe¨S¦³¥Î"indirect",§â§Aªºµª®×copy¨ì§Úªºfile,ok¤F,"indirect"ÁÙ¬O¤£¤Ó·|¥Î,¦hÁ«ü±Ð,¯u¬O¨ü¯q«D²L.
Åwªï¥úÁ{ ³Â»¶®a±Ú°Q½×ª©ª© (http://forum.twbts.com/)