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

[µo°Ý] ¦hSHEET¤u§@ªí¸ê®Æ¶×¾ã°ÝÃD½Ð±Ð

[µo°Ý] ¦hSHEET¤u§@ªí¸ê®Æ¶×¾ã°ÝÃD½Ð±Ð

DEAR ALL¤j¤j
1.¦p¤U¬°¥Ø«e§Ú®Ñ¼g§ì¨ú¦hsheet¸ê®Æ¦Ü sheet2¤§¤è¦¡
2.¦]¤u§@ªísheet4  5 6 7 8 9  10........¦³¦h­Ó
2.1¦p¦ó¤£¶·¤@­Ó¤u§@ªí¼g¤@µ{¦¡.
3.·Ð¤£§[½ç±Ð    thanks*10000


Sub TATAL()
Application.Run "TATAL4"
Application.Run "TATAL5"
Application.Run "TATAL6"
End Sub

Sub TATAL4()
Sheet2.[A2:A65536].ClearContents
X = Sheet4.[B65536].End(xlUp).Row
Y = Sheet2.[A65536].End(xlUp).Row
For M = 2 To X
If Not (Sheet4.Cells(M, 2) = "" Or Sheet4.Cells(M, 2) = " ") Then
  Sheet2.Cells(Y + 1, 1) = Sheet4.Cells(M, 2)
    Y = Y + 1
  End If
  Next
End Sub

Sub TATAL5()
X = Sheet5.[B65536].End(xlUp).Row
Y = Sheet2.[A65536].End(xlUp).Row
For M = 2 To X
If Not (Sheet5.Cells(M, 2) = "" Or Sheet5.Cells(M, 2) = " ") Then
  Sheet2.Cells(Y + 1, 1) = Sheet5.Cells(M, 2)
    Y = Y + 1
  End If
  Next
End Sub

Sub TATAL6()
X = Sheet6.[B65536].End(xlUp).Row
Y = Sheet2.[A65536].End(xlUp).Row
For M = 2 To X
If Not (Sheet6.Cells(M, 2) = "" Or Sheet6.Cells(M, 2) = " ") Then
  Sheet2.Cells(Y + 1, 1) = Sheet6.Cells(M, 2)
    Y = Y + 1
  End If
  Next
End Sub
ù

¦^´_ 1# rouber590324

¸Õ¸Õ¬Ý
Sub ex()
Sheets(2).[A2:A65536].ClearContents
Y = Sheets(2).[A65536].End(xlUp).Row
For R = 4 To Worksheets.Count     
   X = Sheets(R).[B65536].End(xlUp).Row
   For M = 2 To X
     If Not (Sheets(R).Cells(M, 2) = "" Or Sheets(R).Cells(M, 2) = " ") Then
       Sheets(2).Cells(Y + 1, 1) = Sheets(R).Cells(M, 2)
       Y = Y + 1
     End If
  Next
Next
End Sub

TOP

DEAR  jcchiang  SIR
100%²Å¦X»Ý¨D  thanks*10000
ù

TOP

        ÀR«ä¦Û¦b : µÊ®ð¼L¤Ú¤£¦n¡A¤ß¦a¦A¦n¤]¤£¯àºâ¬O¦n¤H¡C
ªð¦^¦Cªí ¤W¤@¥DÃD