ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

¥X²{°õ¦æ¶¥¬q¿ù»~1004À³¥Îµ{¦¡©Îª«¥ó©w¸q¤W¿ù»~

¥X²{°õ¦æ¶¥¬q¿ù»~1004À³¥Îµ{¦¡©Îª«¥ó©w¸q¤W¿ù»~

Public Sub ¶×¥X¦¬½L»ù()
Application.ScreenUpdating = False
Sheets("²M³æ").Select
V = Range("A2").End(xlDown).Row
Dim a()
Dim b()
ReDim a(V - 1)
ReDim b(V - 1)
Sheets("¦¬½L»ùºô¸ô").Select

For i = 0 To V - 1
a(i) = Cells(i * 10 + 8, 2)
b(i) = Cells(i * 10 + 13, 2)

Next

ChDir "C:\Users\michael\Desktop\108\focvs.xlsm"(¥Ø«e§ï¬°ChDir "C:\Users\michael\Desktop\108")
Workbooks.Open Filename:="C:\Users\michael\Desktop\108\focvs.xlsm"

Sheets("²M³æ").Select
For i = 2 To Range("A1").End(xlDown).Row
Sheets("²M³æ").Select
k = Cells(i, 2)
If k = "" Then Exit For

Sheets(k).Select
h = Range("b3").End(xlDown).Row
Cells(h + 1, "b") = a(i- 2)
Cells(h + 1, "e") = b(i- 2)
Next
Windows("ºô¸ô¸ê®Æ§ì¨ú.xlsm").Activate
Sheets("ºô¸ô¦¬½L»ù").Select
Application.CutCopyMode = True
Workbooks("focus. xlsm ").Save
Workbooks("focus. xlsm ").Close
Application.ScreenUpdating = True
MsgBox "§ó·s§¹²¦!", vb0XOnly, "³qª¾"

End Sub

²{¥Ø«e¶]¨ì³o¸Ì
cells(h+1,"b")=a(i-2)
cells(h+1,"e")=b(i-2)¥X²{°õ¦æ¶¥¬q¿ù»~1004À³¥Îµ{¦¡©Îª«¥ó©w¸q¤W¿ù»~

ps:§Ú¶}¤@­ÓÀɮ׺ô¸ô¸ê®Æ§ì¨ú¤u§@ªí¦³²M³æ¤Î¦¬½L»ùºô¸ô¥t¤@­Ófocus¤u§@ªí¦³²M³æ¤Î¦U¤½¥qªº¦¬½L»ù¸ê®Æ
chdir "c:\users\michael\desktop\108"
workbooks.open filename:="c:\users\michael\desktop\108\focus.xlsm"
ºô¸ô¸ê®Æ§ì¨ú©MfocusÀɮ׳£¦s©ñ¦bc:\users\michael\desktop\108Àɮק¨¸Ì­±
michael

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD