For Each ªºrange¡Adatatype
- ©«¤l
- 40
- ¥DÃD
- 13
- ºëµØ
- 0
- ¿n¤À
- 69
- ÂI¦W
- 0
- §@·~¨t²Î
- w7
- ³nÅ骩¥»
- office07
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-4-24
- ³Ì«áµn¿ý
- 2012-8-20
|
For Each ªºrange¡Adatatype
For Each ªº½d³ò³¡¤À§Ú¯uªº¤£À´@@..n«ç»ò´ú¸Õ¤F ©ó¬O¤W¨Óµo°Ý
§Úªº·Qªk¬O·Q¥Î¦r¦êªº¤è¦¡ K1 = (G & Str(ordernum + 1)) §Î¦¨ for each G in range(G2,K2)¡A¦ýª«¥ó«á±.end(xlDown)¦ü¥G¤£¦Y³o®M¥H¦Ü©óK1¦³°ÝÃD¡A
¦Ó§Ú¦³¼Æµ§q³æn¶] ¤£ª¾¹D³o¼Ë¼gªk¤£¦X¾A¦bþ?
javascript:;
½Ð°Ý¤@¤UFor Each ªºRange() ¬A¸¹¸ÌÃä»Ýn°ÊºA§ïÅܪº¤èªk¦³¤°»ò¼gªk?- Sub a()
- Call cal_item_num_in_asile_5items(arr_order_list(i))
- end sub
- Sub cal_item_num_in_asile_5items(ByVal ordernum) '§ìq³æªºarr_order_list(i)
- Dim G, G1, K1 As String
-
- G1 = (G & Str(ordernum + 1))
- K1 = (G & Str(ordernum + 1))
- For Each G In Range([G1], [K1].End(xlDown)) '§ìq³æªºG±Æ²Äordernum+1Ócol
- 'K1¤£ª¾¹Dþ¸Ì¦³°ÝÃD
- end sub
½Æ»s¥N½X |
-
-
°ÝÃD.JPG
(50.05 KB)
Sheet DATA
|
|
|
|
|
|
- ©«¤l
- 40
- ¥DÃD
- 13
- ºëµØ
- 0
- ¿n¤À
- 69
- ÂI¦W
- 0
- §@·~¨t²Î
- w7
- ³nÅ骩¥»
- office07
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-4-24
- ³Ì«áµn¿ý
- 2012-8-20
|
ì¨Ó¦p¦¹^^ §Ú³]ÅܼƮÉÀ³ÁקK¨Ï¥Î Excel ªº¤w¨Ï¥Îªº ÃöÁä¦r |
|
|
|
|
|
|
- ©«¤l
- 40
- ¥DÃD
- 13
- ºëµØ
- 0
- ¿n¤À
- 69
- ÂI¦W
- 0
- §@·~¨t²Î
- w7
- ³nÅ骩¥»
- office07
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2012-4-24
- ³Ì«áµn¿ý
- 2012-8-20
|
ÁÂÁÂGBKEE¡A¦A½Ð±Ð¤@°Ý¡A±z»¡¤£±µ¨üÅܼƬO"´N¹³G1=>ª½±µ¶ë¦ì¸mµ¹¥¦"ªº·N«ä¶Ü? |
|
|
|
|
|
|