¥»©«³Ì«á¥Ñ luke ©ó 2012-7-24 20:13 ½s¿è
¦U¦ì¤j¤j
1.Sheet("WX")A:BÄæ»PSheet("MX")B:DÄæ¦U¦Ûªí¥Ü¨âÓ¸ê®Æ¬d¸ß°Ï(¦U¦³6,000-10,000¸ê®Æ¦C),¨ä¤¤Sheet("MX")¬°³æ¤@Ãþ
§O¶È¨Ï¥Î"MM*"§@¦r¤¸¶}ÀY.
2.Sheet("DATA")B:DÄ欰¸ê®Æ¿é¤J°Ï,¥]§t¼Æ¶q¤£µ¥ªº"°Ï¶ô ¸ê®Æ¦C"²Õ¦X¥ÎªÅ¥Õ¦C¹j¶}.
BÄæ¦r¦ê¤¤²Ä1Ó¦r¤¸¥i¯à ¦³";"²Å¸¹©M¨ä¥L¤¤¤å¦r©Î"/"²Å¸¹.
CÄæ¦r¦êªí¥ÜSheet("WX")»PSheet("MX")ªº¬d¸ß·Ç«h.
DÄæÀx¦s®æ¥i¯à¦³¨âÓ¦r¦ê²Õ¦X¨Ã¥Î³r¸¹',"¨Ó§@°Ï¤À,¨ä¤¤²Ä1Ó¦r¦ê¨ú²Ä1Ó¦r¤¸¨Ó°µ¦h«§PÂ_
¦p">","="©M"<"3ºØ¹Bºâ¦¡.
F:HÄ欰¸ê®Æµ²ªG°Ïn¤À§O¹ïÀ³B:DÄæ©Ò¥Ü±ø¥ó.
3.¨C¦¸¶×¤J4,000-5,000µ§¸ê®Æ¦C¦ÜDATA¤u§@ªí¤¤ªºB:DÄæ,¨ä±ø¥ó§PÂ_n¨Dì«h¦p¤Uz»¡©ú:
(a1) YBÄæµL¸ê®Æ¤£»Ý³B²z§Y¸Ó¸ê®Æ¦CÅã¥ÜªÅ¥Õ
¦p²Ä4¦CµL¸ê®Æ§e²{ªÅ¥Õ§Y¥i.
(a2) YBÄ榳¸ê®Æ¦ÓCÄæµL¸ê®Æ®É´NnÅã¥ÜBÄ檺¸ê®Æ¦ÜFÄæ.
¦pB5Àx¦s®æ¬°"MA/«DMA"À³Åã¥Ü¦ÜF5Àx¦s®æ
B6Àx¦s®æ¬°"VIP"À³Åã¥Ü¦ÜF6Àx¦s®æ.
(b) ·íCÄ榳¸ê®Æ´Nn¤Þ¤J©Ò¹ïÀ³Sheet("WX")ªº"¦WºÙ"©ÎSheet("MX")ªº"¦W¦r"·Ç«h¨Ã±a¤J¦ÜFÄæ§Y¥i.
YCÄæ¦r¤¸¦³"MM*"¶}ÀY,ÁÙn½Æ»s¦ÜGÄæ(¶·°Ñ¦Ò¤U¶µDÄæ·Ç«h).
(b1) ¦pC2Àx¦s®æ©Ò¥Ü¬°"¥N½X"´Nn¹ïÀ³¦ÜSheet("WX")ªº"¦WºÙ"
§Y"A0000"À³Åã¥Ü¹ïÀ³¦ÜF2Àx¦s®æ¬°"¥x¥_10";
(b2) ¦pC10Àx¦s®æ©Ò¥Ü¬°"¥N¸¹"´Nn¹ïÀ³¦ÜSheet("MX")ªº"¦W¦r"
§Y"MMx0010"À³¦P®ÉÅã¥Ü¹ïÀ³¦ÜF10©MG10Àx¦s®æ¦U¬°"¤H¦W0008".(GÄ涷°Ñ¦Ò¤U¶µ·Ç«h)
(c) DÄ榳¸ê®Æ´NnÅã¥Ü¦ÜGÄæ.YDÄæ¸ÓÀx¦s®æº¦r±a¦³">","=" ©M"<"¥ô¤@ºØ¹Bºâ¦¡®É,
À³¥ý¨Ì·Ó¤WzCÄæ©Ò¸ü¶}ÀY"MM*"·Ç«h¥h¤Þ¤J¤º®e,¤Î/©Î¥[¤J¥þ³¡¦r¤¸ª½¨ì³r¸¹","³B¬°¤î,
¦Ó³r¸¹","«á±ªº¸ê®Æ¬°"¥N½X" ®É´Nn¹ïÀ³Sheet("WX")ªº"¦WºÙ".
(c1) ¦pD6Àx¦s®æ¬°";100101"¶·½Æ»s¦ÜGÄæÀx¦s®æ§Y¥i;
(c2) ¦pD10Àx¦s®æªºº¦r¦]¦³"="¹Bºâ¦¡,¥²¶·¥ý¶ñ¤WC10Àx¦s®æ"MMx0010"©Ò¹ïÀ³¥N¸¹ªº"¦W¦r"¬°"¤H¦W0008",
¦A¥[¤J³r¸¹","«e±ªº¦r¤¸"=#1"§YG10Àx¦s®æÅã¥Ü¬°"¤H¦W0008=#1",
¦Ó³r¸¹","«á±ªº¥N½X"H01"n¹ïÀ³¦ÜH10Àx¦s®æ§YÅã¥Ü¬°"°ª¶¯601";
(c3) ¦P²zD11Àx¦s®æªºº¦r¦³">"¹Bºâ¦¡¶·¥ý¥[¤WCÄ椺©Ò¥Ü¥N¸¹ªº"¦W¦r"¬°"¤H¦W0012"©M³r¸¹","«e±ªº¦r¤¸">="
¤Î¥N¸¹"MMx0014"©Ò¹ïÀ³ªº"¦W¦r"¬°"¤H¦W0010"§YG11Àx¦s®æÅã¥Ü¬°"¤H¦W0012>=¤H¦W0010",
¦Ó³r¸¹","«á±ªº¥N½X"J000"¸ê®ÆÀ³¹ïÀ³¦ÜHÄæ§YH11Àx¦s®æÅã¥Ü¬°"«ÌªF700".
4. F ~ H Ä欰§¹¦¨«áÅã¥Ü¸ê®Æ.
¦]°Ï¶ô¸ê®Æ¦C±`°µ×§ï,¦p¦ó§Q¥ÎVBA¼g¥Xµ{¦¡?
(¦pµLªk¥ÎVBA§PÂ_n¦p¦ó¼g¤J¤½¦¡)
·Ð½Ð¥ý¶i ¤j¤j«ü¾É |