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

[µo°Ý] ³øªí­¶§À´¡¦æ

  1. Sub ´¡¦æ()
  2. Dim c, r, j As Integer
  3. c = 50

  4. r = Range("A65536").End(xlUp).Row


  5. If r > 50 Then

  6. Range("2:2").Copy
  7. Range(c & ":" & c).Insert (XlInsertShiftDirection.xlShiftDown)
  8. j = WorksheetFunction.RoundDown((r - 50) / 47, 0)
  9. End If
  10. For i = 1 To j
  11. c = c + 47
  12. Range(c & ":" & c).Insert (XlInsertShiftDirection.xlShiftDown)

  13. Next
  14. Application.CutCopyMode = False
½Æ»s¥N½X
50 ¦r¸`¥H¤º
¤£¤ä«ù¦Û©w¸q Discuz! ¥N½X

TOP

        ÀR«ä¦Û¦b : ÀR§¤±`®¦¤v¹L¡B¶¢½Í²ö½×¤H«D¡C
ªð¦^¦Cªí ¤W¤@¥DÃD