IT-Academy

Vloženie prázdnych riadkov

Apr 17th, 2017
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Option Explicit
  2.  
  3. Sub vlozNoveRiadky()
  4. '
  5. ' vlozNoveRiadky Makro
  6. '
  7. ' Klávesová skratka: Ctrl+Shift+V
  8. '
  9.    Do While ActiveCell <> ""
  10.         ActiveCell.Offset(1, 0).Rows("1:1").EntireRow.Select
  11.         Selection.Insert Shift:=xlDown
  12.         ActiveCell.Offset(1, 0).Range("A1").Select
  13.     Loop
  14. End Sub
Advertisement
Add Comment
Please, Sign In to add comment