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

¤À²Õ«e¤T¦W»yªk

¦^´_ 10# joey0415
ª©¤jªº¤å³¹¤]±`¥Î .End(xlUp).Offset(1)¤§Ãþªº©w¦ì§ä¬Y¤@®æ©ÎÃöÁ䪺¤W¤@­Ó©Î¤U¤@®æ¡A¤£ª¾¹D­þ¦³¬ÛÃöªº»¡©ú·|²M·¡¤@¨Ç
¬Ý³o¸Ì
  1. Option Explicit
  2. Sub Ex()
  3.     Dim ª«¥ó As Worksheet
  4.     Set ª«¥ó = Sheets("Sheet1")    '±NSheets("Sheet1")«ü©w¨ìª«¥óÅܼÆ
  5.     With ª«¥ó.Range("a1:f1")
  6.         .Font.Size = 15
  7.         '·|¥X²{ .ÄÝ©Ê,¤èªk
  8.     End With
  9.     With Sheet1.Range("a1:f1")  'Sheet1 ¬O±M®×¤¤ªºª«¥ó(¤u§@ªíª«¥óªºCodeName)
  10.     'With Sheets("Sheet1").Range("a1:f1")  '¤£·|¥X²{  .ÄÝ©Ê,¤èªk
  11.         
  12.         .Font.Size = 15
  13.         '·|¥X²{ .ÄÝ©Ê,¤èªk
  14.     End With
  15. End Sub
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

¦^´_ 3# GBKEE

½Ð°Ý¶Wª©¡A°}¦C¤¤¦³¨S¦³Ãþ¦üFind(E, LookAT:=xlWhole)¡A§â§ä¨ìªº¸ê®Æ©ñ¶i¥t¤@­Ó·sªº°}¦C¤¤©O¡H

ÁÂÁÂ
  1.         For Each E In AR
  2.             Set Rng = .Range("B:B").Find(E, LookAT:=xlWhole)  '§ä¨C¤@ªÑ²¼ªº²Ä¤@­Ó¦ì¸m
  3.             .Range(.Cells(Rng.Row, "A"), .Cells(Rng.Row + 2, "D")).Copy .Cells(.Rows.Count, "F").End(xlUp).Offset(1)
½Æ»s¥N½X

TOP

·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ¡i®É¶¡¦pÆp¥Û¡j®É¶¡¹ï¤@­Ó¦³´¼¼zªº¤H¦Ó¨¥¡A´N¦pÆp¥Û¯ë¬Ã¶Q¡F¦ý¹ï·M¤H¨Ó»¡¡A«o¹³¬O¤@§âªd¤g¡A¤@ÂI»ù­È¤]¨S¦³¡C
ªð¦^¦Cªí ¤W¤@¥DÃD