¾È³çÇϼ¼¿ä ¿äÁò ¿¢¼¿À» »ç¿ëÇÏ´Â ºóµµ°¡ ³ô¾ÆÁ³´Âµ¥
Ȥ½Ã ÀÌ·± °Íµµ ¸ÅÅ©·Î·Î °¡´ÉÇÑÁö ±Ã±ÝÇÕ´Ï´Ù.
=======================================
°¡
³ª
´Ù
¶ó
¸¶
¹Ù
ȍ
¸¦
°¡,³ª,´Ù,¶ó,¸¶,¹Ù,»ç
·Î ÆíÁýÇØÁÖ´Â ¸ÅÅ©·Î°¡ ÀÖÀ»±î¿ä?
¼öÀÛ¾÷ ½Ã¿£ [ ,->Del->end]¸¦ ¹Ýº¹ÇÏ´Â µ¿ÀÛÀÔ´Ï´Ù.
ÀоîÁּż °¨»çÇÕ´Ï´Ù^^
| |
|
ÀÏ´Ü À§¿¡ ¼öÀÛ¾÷½ÃÀÇ Å°º¸µå¹Ýº¹ÇÏ´Â µ¿ÀÛÀº ¸Þ¸ðÀå¿¡¼ °¡´ÉÇÒ°Í °°½À´Ï´Ù.
¾×¼¿¿¡¼´Â À§ÀÇ Å°º¸µå ¹Ýº¹ÀÛ¾÷Çؼ ÆíÁýÀÌ ¾ÈµÇ°Í °°±â´Â ÇÕ´Ï´Ù.
±×·¡¼ ¸ÅÅ©·Î¸¦ µÎ°¡Áö·Î ÷ºÎÇÕ´Ï´Ù.
Sub Range_plue()
Dim i As Long
For i = 2 To Range(\"a\" & Columns(1).Rows.Count).End(xlUp).Row
\'¹Ýº¹¹®ÀÔ´Ï´Ù. 2ºÎÅͽÃÀÛÇؼ A¿ÀÇ °ªÀÌ ÀÖ´Â Á¦ÀÏ ¾Æ·¡ÀÇ Çà±îÁö ¹Ýº¹ÇÕ´Ï´Ù.
Cells(1, 1).Value = Cells(1, 1) & \",\" & Cells(i, 1)
\'cells(1,1) = A1ÀÔ´Ï´Ù. A1¿¡ ¾Æ·¡ºÎºÐÀÇ °ªµéÀ» \",\"¸¦ Æ÷ÇÔÇÏ¿© µÚ·Î Ãß°¡ÇÕ´Ï´Ù.
Next i
\'¹Ýº¹ÀÌ ³¡³¯´ë±îÁö °è¼ÓÇÕ´Ï´Ù.
End Sub
\'°¡ ~ »ç ÀÇ °ªÀÌ Range(\"a1\") ~ Range(\"a7\")¿¡ µé¾îÀÖ´Ù°í °¡Á¤ÇÏ°í ÀÛ¾÷ÇÏ¿´½À´Ï´Ù.
Sub sendkeys()
Application.ScreenUpdating = False
Range(\"A1\").Select
Application.sendkeys \"{,}\"
Application.sendkeys \"{RIGHT}\"
Application.sendkeys \"{del}\"
Application.sendkeys \"{RIGHT}\"
Application.sendkeys \"{enter}\"
Application.ScreenUpdating = True
End Sub
[ ,->Del->end] ¸¦ Çѹø ½ÇÇàÇÕ´Ï´Ù. ¸¸¾à ¿©·¯¹ø ¹Ýº¹À» ÇϽ÷Á¸é
For¹® µîÀ» ÅëÇØ ¹Ýº¹ÇÏ¼Å¾ß ÇÕ´Ï´Ù.
D-I-T´Ô ¸ÅÅ©·Î Â¥Áּż ³Ê¹«³ªµµ °¨»çµå¸³´Ï´Ù^^
ÂÊÁö ÇÑ ¹Ý È®ÀÓ ºÎŹµå·Á¿ä~