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

¦p¦óÅýÁ`ªíŪ¨ú¨ä¥L¤u§@ªíªº¸ê®Æ

¦^´_ 2# GBKEE


    ·PÁÂG¤j¥X°¨¸Ñ¨M°ÝÃD¡A§Ú¦Û¦æ­×§ï¤F¤@¤U¦p¤U¡A¥¿¦¡ªº¼gªkÁÙ­n½ÐG¤jÀ°¦£¡A¦p¤U¡G

¦]¬°AÄæ¬O¤é´Á¡A©Ò¥H§Ú¥Î¥¨¶°¿ý¤U¤F­×§ï©Ò¥H³ºÅܦ¨¤F¡A²Ä14~16¦æ¬O¥¨¶°¿ý»sªº¡C
  1. Dim Ar As Variant, E As Variant
  2.     Sheets("Á`ªí").UsedRange.Offset(1).Clear  '**²M°£Á`ªí¤¤Â¦³¸ê®Æ
  3.     For Each E In Sheets
  4.         If E.Name <> "Á`ªí" Then
  5.             If IsEmpty(Ar) Then ReDim Ar(1 To 1) Else ReDim Preserve Ar(1 To UBound(Ar) + 1)
  6.             Ar(UBound(Ar)) = E.UsedRange.Offset(1)
  7.         End If
  8.     Next
  9.     For Each E In Ar
  10.         With Sheets("Á`ªí").Range("A" & Rows.Count).End(xlUp).Offset(1)
  11.             .Resize(UBound(E), UBound(E, 2)) = E
  12.         End With
  13.     Next
  14.     Range("A2").Select
  15.     Range(Selection, Selection.End(xlDown)).Select
  16.     Selection.NumberFormatLocal = "[$-404]e/m/d"
½Æ»s¥N½X

TOP

¦^´_ 1# av8d
¸Õ¸Õ¬Ý
  1. Option Explicit
  2. Sub Ex()
  3.     Dim Ar As Variant, E As Variant
  4.     Sheets("Á`ªí").UsedRange.Offset(1).Clear  '**²M°£Á`ªí¤¤Â¦³¸ê®Æ
  5.     For Each E In Sheets
  6.         If E.Name <> "Á`ªí" Then
  7.             If IsEmpty(Ar) Then ReDim Ar(1 To 1) Else ReDim Preserve Ar(1 To UBound(Ar) + 1)
  8.             Ar(UBound(Ar)) = E.UsedRange.Offset(1)
  9.         End If
  10.     Next
  11.     For Each E In Ar
  12.         With Sheets("Á`ªí").Range("A" & Rows.Count).End(xlUp).Offset(1)
  13.             .Resize(UBound(E), UBound(E, 2)) = E
  14.         End With
  15.     Next
  16. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ¤@­Ó¯Ê¤fªºªM¤l¡A¦pªG´«¤@­Ó¨¤«×¬Ý¥¦¡A¥¦¤´µM¬O¶êªº¡C
ªð¦^¦Cªí ¤W¤@¥DÃD