(Àɮ׳sµ²:)
¦U¦ì«e½ú¦n,
¤p§Ì¹J¨ì¤@Ó°ÝÃD,
¥»·Q¸ÕµÛ¨Ï¥Î¦r¨åª«¥ó,
¦ý¦]©Ò·Q¤ñ¹ïªº¨âÄæ¼ÆÈ(KÄæ»PMÄæ)Äæ¦ì¦³¥i¯à·|¨ä¤¤¤@ÄæªÅ¥Õ,
¥t¤@Äæ«DªÅ¥Õ,
¦b³o¼Ëªº±¡§Î¤UY¬O¦]ªÅ¥Õ¦Ó§R°£,
®£©È·|§R¨ì¤£¸Ó§Rªº¸ê®Æ,
¤§«e¦³¤ñ·ÓªO¤W«e½ú´£¨Ñªºµ{¦¡½X¥hקï«á°µ¥X¤@ÓÀÉ®×,
À³¸Ó¬OªO¤W¨S¿ù,¦ý¤£ª¾¸Ó¦p¦ó¥Î·j¯Á¥\¯à¬d¸ß¦Û¤vªº¦^¤å(«D©«¤l),
¥H«á¨Ï¥Î«e½úµ{¦¡½X¹ê¦bÀ³¸Ó¥[µù¸Ñªþ¤Wì¥X³B¤~¬O,
½Ð¨£½Ì,¤p§Ì¥H«á¤@©wª`·N.
¥Ø«e³oÓÀÉ®×ÁÙ¬O¦³¨Ç°ÝÃD,
¦³®É©ú©ú¨âÄæ¬Ò¬°ªÅ¥Õ,¦ý¸Ó¾î¦C¤´¥¼³Q§R°£;
²Ä¤GÂI´N¬OCÄ楲¶·«DªÅ¥Õ,
¦ý¤£ª¾¸Ó¦p¦ó°µ×§ï.
ÁÙ¦³¤@ÂI´N¬O¤£ª¾¦ó¬G,
©ú©ú«½Æªº¸ê®Æ,ÁÙ¬OµLªk¹ý©³§R°£,
³oÂI¤]¥O¤p§Ì¬Û·í¤£¸Ñ,
¤Ö¶q¸ê®Æ´ú¸Õ®É¨S¦³¤Ó¤j°ÝÃD,
¦ý¤j¶q¸ê®Æ´N·|¥X²{°ÝÃD.
¥ý±N¤p§Ì©Ò´Á±æªºµ{¦¡½X³W«h¸Ôz¦p¤U¥H¨Ñ°Ñ¦Ò:
(²Ä¤@¾î¦C¬°Äæ¦ì¦WºÙ,¤£°µ¤ñ¹ï.
¸ê®Æ¦@p15Äæ¦ì,KÄæ»PMÄ欰·Qn¤ñ¹ïªº¼ÆÈ,
¨âÄæ¼ÆȵLÃö³s,¤£¤¬¬Û¤ñ¹ï,¶È¦Û¦æ¤ñ¹ï)
1.Y¨âөΦhÓ¾î¦CªºÄæ¦ìK¼ÆȬۦP(©ÎªÅ¥Õ),¥BÄæ¦ìM¼ÆȤ]¬Û¦P(©ÎªÅ¥Õ),
«h¥u¯d¤U¤@¾î¦C,¨ä¾l§R°£.
2.Y¨âөΦhÓ¾î¦CªºÄæ¦ìK¼ÆȬۦP,¦ýÄæ¦ìMªº¼ÆȤ£¦P,
«h³o¨Ç¾î¦C¤£ÅÜ°Ê.
¦b³o¨Ç¾î¦C¤¤,¯d¤U¤@Äæ¦ìªºK¼ÆÈ,¨ä¾l¾î¦CªºÄæ¦ìM²M°£.
Äæ¦ìMªº¼ÆÈ»P¦ì¸m¤£ÅÜ°Ê.
3.»P¤Wz³W«h¬Û¦ü,
Y¨âөΦhÓ¾î¦CªºÄæ¦ìK¼ÆȤ£¦P,¦ýÄæ¦ìM¼ÆȬۦP,
«h³o¨Ç¾î¦C¤£ÅÜ°Ê.
Äæ¦ìKªº¼ÆÈ»P¦ì¸m¤£ÅÜ°Ê.
¯d¤U¤@Äæ¦ìM¼ÆÈ,¨ä¾l¾î¦CªºÄæ¦ìL¼ÆȲM°£.
4.Y¾î¦CªºÄæ¦ìK¸òÄæ¦ìM§¡¬°ªÅ¥Õ,
«h§R°£¦¹¾î¦C.
5.Äæ¦ìKªº¼ÆÈ»PÄæ¦ìMªº¼ÆȤ£¤¬¬Û¤ñ¸û,¨âÄæ¼ÆȦU¦Û¤ñ¹ï,¨S¦³ÃöÁp.
6.Äæ¦ìK¤ÎÄæ¦ìMªº¼Æȧ¡¬°¥¿¾ã¼Æ©ÎªÅ¥Õ,¤£·|¬O0©Î¨ä¥LÈ.
ªþ¤W¤p§Ì°Ñ¦Ò«e½úµ{¦¡½Xקï«áªºµ{¦¡¤ÎªþÀɦp¤U:
ªþÀɤU¸ü(Google¶³ºÝµwºÐ)- Public Sub extwo()
- Dim ar()
- Range("c2").Resize(Cells(Rows.Count, 3).End(xlUp).Row, 1).Select
- Selection.Resize(Selection.Rows.Count - 1, 1).Select
- Selection.Copy Range("a2")
- arr = Range("A2:AD" & Cells(Rows.Count, 1).End(xlUp).Row)
- K = UBound(arr)
- For i = 1 To UBound(arr) - 1
- For j = i + 1 To UBound(arr)
- If arr(i, 1) = "" Or arr(j, 1) = "" Then GoTo 10
- If arr(i, 11) & arr(i, 13) = arr(j, 11) & arr(j, 13) Then
- For L = 1 To UBound(arr, 2)
- arr(j, L) = ""
- Next
- K = K - 1
- ElseIf arr(i, 11) = arr(j, 11) And arr(i, 13) <> arr(j, 13) Then
- If arr(i, 13) = "" Then
- arr(i, 11) = ""
- Else
- arr(j, 11) = ""
- End If
- ElseIf arr(i, 11) <> arr(j, 11) And arr(i, 13) = arr(j, 13) Then
- If arr(i, 11) = "" Then
- arr(i, 13) = ""
- Else
- arr(j, 13) = ""
- End If
- ElseIf arr(i, 11) = "" And arr(i, 13) = "" Then
- arr(i, 1) = ""
- ElseIf arr(j, 11) = "" And arr(j, 13) = "" Then
- arr(j, 1) = ""
- '
- End If
-
- 10:
- Next
- Next
- ReDim ar(1 To K, 1 To UBound(arr, 2))
- K = 1
- For i = 1 To UBound(arr)
- If arr(i, 1) <> "" Then
- For L = 1 To UBound(arr, 2)
- ar(K, L) = arr(i, L)
- Next
- K = K + 1
- End If
- Next
- Range("a2:AD" & Cells(Rows.Count, 1).End(xlUp).Row).Clear
- [a2].Resize(UBound(ar), UBound(arr, 2)) = ar
- Columns(1).ClearContents
- [L2].Select
- End Sub
½Æ»s¥N½X ¥i¥Hªº¸Ü,
§Æ±æ¯à°÷¦³«e½ú¤£§[«üÂI¤p§Ì,¤Q¤À·PÁÂ. |