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

[µo°Ý] ·Q½Ð°Ý¦p¦ó¸Ñ¨M¡y°õ¦æ¶¥¬q¿ù»~¡§13"¡A«¬ºA¤£²Å¦X¡z

¦^´_ 1# HSINLI

³o¬qµ{¦¡½X·|©ì©µµ{¦¡°õ¦æªº³t«×
  1. Blast = Range("AA4").End(xlDown).Row '±N¤U¸ü¥«»ùÀx¦s®æ¥[¤j
  2. For i = 7 To (Blast * 2) Step 2
  3.     Cells(i, 2).Insert shift:=xlDown '¼W¥[Àx¦s®æ
  4.     Range("b" & i - 1 & ":b" & i).Select '¦X¨ÖÀx¦s®æ
  5.    Selection.MergeCells = True
  6.    With Selection.Borders(xlEdgeTop)
  7.         .LineStyle = xlContinuous
  8.         .ColorIndex = 0
  9.         .TintAndShade = 0
  10.         .Weight = xlThin
  11.     End With
  12.     With Selection.Borders(xlEdgeBottom)
  13.         .LineStyle = xlContinuous
  14.         .ColorIndex = 0
  15.         .TintAndShade = 0
  16.         .Weight = xlThin
  17.         End With
  18.         Selection.NumberFormatLocal = "0.00_ "
  19. Next i
½Æ»s¥N½X
¥i­×§ï¬°¦p¤U¸Õ¸Õ¬Ý
  1. Dim Ar(), x As Integer
  2.     Ar = Range("b6", Range("b6").End(xlDown)).Value     'BÄ檺­È¾É¤J°}¦C
  3.     With Range("A6", Range("A" & Rows.Count).End(xlUp)) 'AÄ檺¦X¨ÖÀx¦s®æ
  4.         .Select
  5.         Selection.Copy Range("B6")                       '½Æ»s¨ì BÄæ
  6.         With .Offset(, 1)                                'BÄæ
  7.             For i = 1 To .Cells.Count Step 2
  8.                 x = Application.Round(i - (i / 2), 0)    '°}¦C¤¸¯Àªº¯Á¤Þ­È (¥|±Ë¤­¤J¹Bºâªºµ²ªG)
  9.                 .Cells(i) = Ar(x, 1)
  10.             Next
  11.             With .Borders
  12.                 .LineStyle = xlContinuous
  13.                 .ColorIndex = 0
  14.                 .Weight = xlThin
  15.                 .TintAndShade = 0
  16.             End With
  17.         End With
  18.     End With
½Æ»s¥N½X
·P®¦ªº¤ß......(¦b³Â»¶®a±Ú°Q½×°Ï.¥Î¤ß¾Ç²ß·|¦³¶i¨Bªº)
¦ý¸ê·½µL­­,«á´©¦³­­,  ¤@¤Ñ1¤¸ªºÃÙ§U,¤H¤H¦³¯à¤O.

TOP

        ÀR«ä¦Û¦b : ­n§åµû§O¤H®É¡A¥ý·Q·Q¦Û¤v¬O§_§¹¬üµL¯Ê¡C
ªð¦^¦Cªí ¤W¤@¥DÃD