I have been experimenting with VBA code and wanted to figure out how to insert a partial row where there is an active cell (Range from B:E).
A beginner here, will appreciate the input
Thanks!
Sub Adding()
'
' Adding Macro
'
' Keyboard Shortcut: Ctrl+g
'
Range("B177:E177").Select
Selection.Insert Shift:=xlDown
ActiveWindow.SmallScroll Down:=-162
Range("K9").Select
Selection.AutoFill Destination:=Range("K9:K1936"), Type:=xlFillDefault
Range("K9:K1936").Select
ActiveWindow.ScrollRow = 1904
ActiveWindow.ScrollRow = 1902
ActiveWindow.ScrollRow = 1893
Range("L177").Select
ActiveCell.FormulaR1C1 = _
"Test. "
End Sub