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

[µo°Ý] VBA ¶K¤W­È»P¼Æ¦r®æ¦¡

[µo°Ý] VBA ¶K¤W­È»P¼Æ¦r®æ¦¡

½Ð°Ý¤j¤j¥i¥H¬Æ¼Ë¶K¤W­È»P¼Æ¦r®æ¦¡, ¸Õ¤FPASTE SPECIAL PASTLE VALUEµ¥»yªk·|Åܦ¨ªÅ¥Õ????

¨D±Ð

Sub Combineshop_together()

Dim J As Integer
Worksheets("shop summary").Activate
Worksheets("shop summary").UsedRange.Select
Selection.Clear
On Error Resume Next
Sheets("shop summary").Select
For J = 7 To Sheets.Count
Sheets(J).Activate
Range("A1").Select
Selection.CurrentRegion.Select
Selection.Offset(0, 0).Resize(Selection.Rows.Count - 1).Select
Selection.Copy Destination:=Sheets("shop summary").Range("A65536").End(xlUp)(2)



Next
End Sub

Sub Combineshop_together()

Dim J As Integer
'Worksheets("shop summary").Activate
Worksheets("shop summary").UsedRange.Clear
'Selection.Clear
On Error Resume Next
'Sheets("shop summary").Select
For J = 7 To Sheets.Count
Sheets(J).Activate
Range("A1").CurrentRegion.Select
Selection.Offset(0, 0).Resize(Selection.Rows.Count - 1).Copy
'Selection.Copy Destination:=Sheets("shop summary").Range("A65536").End(xlUp)(2)
Sheets("shop summary").Range("A65536").End(xlUp)(2).PasteSpecial xlPasteValuesAndNumberFormats


Next
End Sub

TOP

¦^´_ 2# ikboy


    ·PÁ½ç±Ð!

TOP

        ÀR«ä¦Û¦b : Ä@­n¤j¡B§Ó­n°í¡B®ð­n¬X¡B¤ß­n²Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD