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

[µo°Ý] VBA¤º¨ç¼Æ¨Ï¥Î

[µo°Ý] VBA¤º¨ç¼Æ¨Ï¥Î

½Ð°Ý¦bVBA¤º¦p¦ó±N¤U¦Cµ{¦¡ÂX®i¦ÜD2:last row:


Range("D2").Formula = Application.Evaluate("INDEX('Attendance Report'!$A:$AZ,MATCH($B2,'Attendance Report'!$O$4:$O$100,0)+10,MATCH($C2,'Attendance Report'!$3:$3,0))")

½Ð½ç±Ð!

¦hÁª©¤jHsieh«ü¾É
§Úªº¤èªk¬°¨D¯à»Pª½±µ¤J¤½¦¡©óÀx¦s®æ±µªñ¦Ó°µ, µM«á­n°µ [½d³ò].Filldown ¨Ó¶ñº¡¤½¦¡,¹ê¦b¬O¤¾ªø¤F¡C

TOP

¦^´_ 3# Hsieh


        ·PÁ½ç±Ð!

TOP

¦^´_ 1# missbb
last rowªº¨ú±o­n¬Ý¦p¦ó§PÂ_ªº¨ì
¥H½d³ò¤º¿é¤J¤½¦¡¡A¨ä°Ñ¼Æªº°Ñ·Ó¨Ï¥ÎR1C1§Î¦¡·|¦n¤@¨Ç
Range("D2:D" & last row).FormulaR1C1 = "=INDEX('Attendance Report'!C1:C52,MATCH(RC2,'Attendance Report'!R4C15:R100C15,0)+10,MATCH(RC3,'Attendance Report'!R3,0))"
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ Hsieh ©ó 2015-8-20 09:09 ½s¿è

Range("D2")= "=INDEX('Attendance Report'!$A:$AZ,MATCH($B2,'Attendance Report'!$O$4:$O$100,0)+10,MATCH($C2,'Attendance Report'!$3:$3,0))

TOP

        ÀR«ä¦Û¦b : ¡i°µ¤Hªº¶}©l¡j¨C¤@¤Ñ³£¬O¬G¤Hªº¶}©l¡A¨C¤@­Ó®É¨è³£¬O¦Û¤vªºÄµ±§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD