Advertisement
Guest User

Untitled

a guest
May 30th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. Sub jsgblankfill20150421a()
  2. '
  3. ' jsgblankfill20150421a Macro
  4. '
  5.  
  6. '
  7. Columns("A:A").Select
  8. Selection.SpecialCells(xlCellTypeBlanks).Select
  9. Selection.FormulaR1C1 = "=R[-1]C"
  10.  
  11. Columns("B:B").Select
  12. Selection.SpecialCells(xlCellTypeBlanks).Select
  13. Selection.FormulaR1C1 = "=R[-1]C"
  14.  
  15. Columns("C:C").Select
  16. Selection.SpecialCells(xlCellTypeBlanks).Select
  17. Selection.FormulaR1C1 = "=R[-1]C"
  18.  
  19. Columns("D:D").Select
  20. Selection.SpecialCells(xlCellTypeBlanks).Select
  21. Selection.FormulaR1C1 = "=R[-1]C"
  22.  
  23. Columns("E:E").Select
  24. Selection.SpecialCells(xlCellTypeBlanks).Select
  25. Selection.FormulaR1C1 = "=R[-1]C"
  26.  
  27. Columns("F:F").Select
  28. Selection.SpecialCells(xlCellTypeBlanks).Select
  29. Selection.FormulaR1C1 = "=R[-1]C"
  30.  
  31.  
  32.  
  33. End Sub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement