¦P¤@µ{¦¡¥N½X¦b¤u§@ªí»P¼Ò²Õ°õ¦æ¥X²{1004
- ©«¤l
- 248
- ¥DÃD
- 76
- ºëµØ
- 0
- ¿n¤À
- 331
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- kaohsiung
- µù¥U®É¶¡
- 2013-6-10
- ³Ì«áµn¿ý
- 2020-7-3
|
¦P¤@µ{¦¡¥N½X¦b¤u§@ªí»P¼Ò²Õ°õ¦æ¥X²{1004
For Each arr In Range([¥N¸¹!y1], [¥N¸¹!z65536].End(xlUp))
If arr(1, 2) <> "" Then d(arr(1, 2) & "-") = arr(1, 1)
Next
¤W±¥N½X¦b¼Ò²Õ¥i²Õ¥¿±`°õ¦æ
¦ý©ñ¦b¤u§@ªí¡]data),¤Þ¥Î¥N¸¹¤u§@ªí¸ê®Æ¡A«h¥X²{1004¿ù»~¥d¦í¤F¡A¬G©ñ¦b¤u§@ªí(data),¤W±¥N½X¦p¦ó§ï¡H
¤S¦b¤u§@ªí¤¤³]p¥N½X¡A¤S¸Óª`·N¤°»ò¡H |
|
§Æ±æ¤ä«ù!
|
|
|
|
|
- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¥»©«³Ì«á¥Ñ luhpro ©ó 2019-3-5 22:50 ½s¿è
¥t¥~ For Each arr In .Range(.[y1], .[z65536].End(xlUp))¤]¦³¤H³o¼Ë¼g For Each arr In .Range(.[y1], .[ ...
s7659109 µoªí©ó 2019-3-4 08:48
¨º¨âÓ¦¡¤lµ²ªG¬O¤£¤@¼Ëªº³á,
n¤F¸Ñ¨äì¦]º¥ýnª¾¹D Range.End(xlUp) ¬O¬Æ»ò·N«ä.
©Ò¿× Range.End(xlUp) ¬O«ü :
±q Range ³oÓÀx¦s®æ¶}©l "©¹¤W" §ä¨ì²Ä¤@Ó¦³¸ê®ÆªºÀx¦s®æ,¶Ç¦^¸ÓÀx¦s®æ
©Ò¥H§A¤W±Á|ªº¨Ò¤l¨âÓ¦¡¤lµ²ªG¬O¤£¦Pªº,
§ä¨ìªºÀx¦s®æ¤@Ó¦b Z Äæ, ¤@Ó¦b X Äæ,
¥i¯à·|¦C¸¹¬Û¦P, (¦P¦Cªº¨âÄæ³£¦³¸ê®Æ®É)
¦ý¤£·|¬O¦P¤@ÓÀx¦s®æ.
«e±¦A¥[¤W Range(.[y1], «á,
«eªÌ·|¹M¾ú Y »P Z ¨âÄ檺¼Ðªº¦C,
«áªÌ«h¥u·|¶] Y (¤]¥u¦³³o¤@Ó)Ä檺¼Ðªº¦C³á. |
|
|
|
|
|
|
- ©«¤l
- 248
- ¥DÃD
- 76
- ºëµØ
- 0
- ¿n¤À
- 331
- ÂI¦W
- 0
- §@·~¨t²Î
- XP
- ³nÅ骩¥»
- XP
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- kaohsiung
- µù¥U®É¶¡
- 2013-6-10
- ³Ì«áµn¿ý
- 2020-7-3
|
¥t¥~ For Each arr In .Range(.[y1], .[z65536].End(xlUp))¤]¦³¤H³o¼Ë¼g For Each arr In .Range(.[y1], .[y65536].End(xlUp)),½T¦³¤@¼Ëªº®ÄªG¡A¬°¦ó¡H¤£¸Ñ¡H |
|
§Æ±æ¤ä«ù!
|
|
|
|
|
- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
For Each arr In Range([¥N¸¹!y1], [¥N¸¹!z65536].End(xlUp))
If arr(1, 2) "" Then d(arr(1, 2) & " ...
s7659109 µoªí©ó 2019-2-27 10:46
[¥N¸¹!y1] §Î¦¡ªºÀx¦s®æ¦ì§}ªí¥Ü¤è¦¡,
¨ä¹ê¬O¥Î¦bÀx¦s®æªº¤½¦¡¸Ìªº,
¶È¾A¥Î©ó¥þ°ìµ{¦¡(§Y¼Ò²Õ¤º)¤¤.
Y¬O¦b¤u§@ªí¤ºªºVBµ{¦¡«hÀ³¨Ï¥Î Sheets("¤u§@ªí¦WºÙ").[Àx¦s®æ¦ì§}] ªºªí¥Ü¤è¦¡ :- Sub nn()
- Dim arr, d
- Set d = CreateObject("Scripting.Dictionary")
- With Sheets("¥N¸¹")
- For Each arr In .Range(.[y1], .[z65536].End(xlUp)) ' Range «e±¥²¶·¦³ÓÂI, ¤~¯à¯Á¤Þ¨ì Sheets("¥N¸¹") ¸ÌªºÀx¦s®æ
- If arr(1, 2) <> "" Then d(arr(1, 2) & "-") = arr(1, 1)
- Next
- End With
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|