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

ÂI¿ï½Æ»s

ÂI¿ï½Æ»s

¦U¦ì«e½ú§A­Ì¦n!
         «e½ú!°ÝÃD¦pªþÀÉ»¡©ú
         ½Ðª¾¹Dªº«e½ú,¤£§[½ç±ÐÁÂÁ¦A¤T!!

Leov34.rar (83.36 KB)

¦^´_ 12# GBKEE
GBKEE«e½ú§A¦n!
¡@¡@¡@¨}®v!¨¯­WÅo!ÁÂÁ¦A¤T!

TOP

¦^´_ 11# myleoyes
  1. Sub Ex()
  2.     Dim R As Range, Rng As Range
  3.     With ActiveSheet
  4.         For Each R In Selection
  5.             If Not Intersect(R, .Range(.[j2], .[j2].End(xlDown))) Is Nothing Then
  6.                 Set Rng = .Range("bs" & Rows.Count).End(xlUp).Offset(1)
  7.                 Rng.Value = ActiveSheet.[A2]
  8.                 Rng.Cells(1, 2) = R
  9.                 Range(R.Offset(, 2), .Cells(R.Row, "T")).SpecialCells(2).Copy Rng.Cells(1, 3)
  10.             End If
  11.         Next
  12.     End With
  13. End Sub
½Æ»s¥N½X

TOP

¦^´_ 10# myleoyes
¦U¦ì«e½ú§A­Ì¦n!
         «e½ú!ÂI¿ï½Æ»s¤§2¦pªþÀÉ»¡©ú
         ½Ðª¾¹Dªº«e½ú,¤£§[½ç±ÐÁÂÁ¦A¤T!!

Leov36.rar (8.26 KB)

TOP

¦^´_ 9# GBKEE
hsieh«e½ú§A¦n!
       °¸¹³«e½ú!¨¯­WÅo!ÁÂÁ¦A¤T!

GBKEE«e½ú§A¦n!
¡@¡@¡@¨}®v!¨¯­WÅo!ÁÂÁ¦A¤T!

TOP

¦^´_ 7# myleoyes
¬O³o¼Ë¶Ü?
  1. Sub ½Æ»s()
  2.     With Sheet1
  3.         .Range("B1", .[b1].End(xlDown).Offset(, 1)).Copy
  4.         With .[IV1].End(xlToLeft).Offset(, 1)
  5.             .PasteSpecial
  6.             .Resize(2, 2).Value = .Resize(2, 2).Value
  7.         End With
  8.     End With
  9. End Sub
½Æ»s¥N½X

TOP

¦^´_ 6# myleoyes


    If R>1 then A.AutoFill A.Resize(R, 1)
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¦^´_ 5# GBKEE
GBKEE«e½ú§A¦n!
     ¡@ ¨}®v!ÁÂÁÂ!!µ{¦¡goodÁÂÁ¦A¤T!!

¨â¦ì«e½ú§A­Ì¦n!¡@¡@
      Sub ½Æ»s()
          Dim Ar As Range, A As Range
          Set Ar = Sheet1.[B1:C9]
          Set A = Sheet1.[IV1].End(xlToLeft).Offset(, 1)
          Ar.Copy
          A.Offset(0, 0).PasteSpecial xlPasteFormats
          A.Offset(0, 0).Resize(9, 2) = Ar.Value
          Application.CutCopyMode = False
       End Sub
       ½Æ»s¥X¨ÓªºÀx¦s®æ³£¬O­È
       ¥H¹ê»Ú»Ý¨D¦³¥X¤JÁö¸g­×§ïÁÙ¬O¬Ý¤£¤U¥h«¢«¢!!
       ¥u¦n¦A³Â·Ð«e½úÅo!¹ê¦b¤ï¶Õ¨¯­WÅo!ÁÂÁ¦A¤T!!

Leov35.rar (10.9 KB)

TOP

¦^´_ 4# Hsieh
hsieh«e½ú§A¦n!
       °¸¹³«e½ú!ÁÂÁÂ!!µ{¦¡½Æ¿ï¨S°ÝÃD
       ¦ý¬O³æ¿ï®É,°»¿ù¦b¦¹ A.AutoFill A.Resize(R, 1)
       ½Ð¦A³Â·Ð¤@¤UÁÂÁ¦A¤T!!

TOP

¦^´_ 3# myleoyes
  1. Sub ¦h­«¤ÀªR()
  2.     ActiveWindow.ScrollRow = 150
  3.     Dim Rng As Range, E As Range
  4.     With Sheet1
  5.         Set Rng = .Range("I2").CurrentRegion
  6.         Set Rng = .Range(Rng(2, 1), Rng(Rng.Count))
  7.         For Each E In Selection.Rows
  8.             If Not Intersect(E, Rng) Is Nothing Then
  9.                 .[A2].Copy .Range("A" & Rows.Count).End(xlUp).Offset(1)
  10.                 .Cells(E.Row, "I").Resize(, 7).Copy .Range("I" & Rows.Count).End(xlUp).Offset(1)
  11.             End If
  12.         Next
  13.     End With
  14. End Sub
½Æ»s¥N½X
¥t Hsieh ª©¥D ªº   r = Selection.Count   ­×§ï¬° r = Selection.Rows.Count ¤~·|¥¿½Tªº°õ¦æ

TOP

        ÀR«ä¦Û¦b : ºÉ¦h¤Ö¥»¥÷¡A´N±o¦h¤Ö¥»¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD