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

¦³¿ý»s¥¨¶°¦ý­n¼g¦¨°j°éÁÙ¬OºN¤£¨ìÃä

¦³¿ý»s¥¨¶°¦ý­n¼g¦¨°j°éÁÙ¬OºN¤£¨ìÃä

¥»©«³Ì«á¥Ñ GBKEE ©ó 2015-2-2 15:28 ½s¿è

ªÀ¹Î¼Æ°ª¹F120­Ó
¾Ç¥Í¤H¼Æ©T©w40
§Æ±æ¥i¥H±N¾Ç¥Í¦W³æ©M¦¨ÁZ¾ã²z¨ìÁ`ªí¡C
§Æ±æ¦³¤j¤j¥i¥HÀ°¦£¡C¬ÛÃö¸ê®Æ¦pªþ¥ó¡C

Book1.rar (17.21 KB)

ªÀ¹Î¼Æ°ª¹F120­Ó
¾Ç¥Í¤H¼Æ©T©w40
§Æ±æ¥i¥H±N¾Ç¥Í¦W³æ©M¦¨ÁZ¾ã²z¨ìÁ`ªí¡C
§Æ±æ¦³¤j¤j¥i¥HÀ°¦£¡C¬ÛÃö¸ê®Æ¦p ...
opman µoªí©ó 2015-1-27 11:53
  1. Sub ¾ã²z()
  2.   Dim iCol%, iCols%
  3.   Dim lRows1&, lRows2&, lRowsT&, lRow&
  4.   Dim shS1 As Worksheet, shS2 As Worksheet, shST As Worksheet
  5.   
  6.   Set shS1 = Sheets("¾Ç¥Í¦W³æ")
  7.   Set shS2 = Sheets("¦¨ÁZ")
  8.   Set shS3 = Sheets("Á`ªí")
  9.   shS3.Cells.Clear
  10.   With shS1
  11.     .[A1].Resize(.Cells(Rows.Count, 1).End(xlUp).Row).Copy shS3.[A1]
  12.     iCols = shS1.Cells(1, Columns.Count).End(xlToLeft).Column
  13.     For iCol = 2 To iCols
  14.       .Cells(1, iCol).Resize(41).Copy shS3.Cells(1, (iCol - 1) * 2)
  15.       shS2.Cells(1, iCol).Resize(41).Copy shS3.Cells(1, (iCol - 1) * 2 + 1)
  16.     Next
  17.   End With
  18. End Sub
½Æ»s¥N½X
Book1-A.zip (62.14 KB)

TOP

¦^´_ 2# luhpro


    ·PÁ¤j¤j¡A¦ý§Ú¬O·Q±µÄò¶K¤U¥h¡C­n¦p¦ó§ï

Book1-A.zip (41.4 KB)

TOP

¦^´_ 3# opman
  1. Option Explicit
  2. Sub ¾ã²z()
  3.     Dim iCols%, i%, iRows&
  4.     Dim Rng As Range
  5.     Sheets("Á`ªí").UsedRange.Clear
  6.     iRows = Sheets("¾Ç¥Í¦W³æ").UsedRange.Rows.Count '¼ÐÀY + ¾Ç¥Í¤H¼Æ
  7.     iCols = Sheets("¦¨ÁZ").UsedRange.Columns.Count  'ªÀ¹Î¼Æ
  8.     For i = 2 To iCols
  9.         Set Rng = Sheets("Á`ªí").Cells(Sheets("Á`ªí").Rows.Count, "a").End(xlUp)
  10.         '©¹¤U¶Kªº¦ì¸m
  11.         With Rng.Offset(IIf(Rng.Row = 1, 0, 1)).Resize(iRows)
  12.             .Cells = Sheets("¾Ç¥Í¦W³æ").Columns(1).Value       '²Ä¤@Äæ:¾Ç¥Í¦W³æ
  13.             .Offset(, 1) = Sheets("¾Ç¥Í¦W³æ").Columns(i).Value '²Ä¤GÄæ:¾Ç¥Í¦WºÙ
  14.             .Offset(, 2) = Sheets("¦¨ÁZ").Columns(i).Value     '²Ä¤TÄæ:¾Ç¥Í¦¨ÁZ
  15.         End With
  16.     Next
  17. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 4# GBKEE


     §¹¥þ²Å¦X ÁÂÁ¤j¤j «ôŪ¤¤

TOP

        ÀR«ä¦Û¦b : ¤H¥Í³Ì¤jªº¦¨´N¬O±q¥¢±Ñ¤¤¯¸°_¨Ó¡C
ªð¦^¦Cªí ¤W¤@¥DÃD