L
lostinmacro
I would like to be able to have a window open to select the Range for
Range("A10:B10").Select and then have the other susequent ranges follow this
choice.
Any help thanks
Sub dvnsert()
'
' dvnsert Macro
'
' Keyboard Shortcut: Ctrl+Shift+D
'
Range("A10:B10").Select
Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 255
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Range("A10").Select
ActiveCell.FormulaR1C1 = "DV"
Range("B10").Select
ActiveCell.FormulaR1C1 = "3.14"
Range("M9").Select
End Sub
Range("A10:B10").Select and then have the other susequent ranges follow this
choice.
Any help thanks
Sub dvnsert()
'
' dvnsert Macro
'
' Keyboard Shortcut: Ctrl+Shift+D
'
Range("A10:B10").Select
Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 255
.TintAndShade = 0
.PatternTintAndShade = 0
End With
Range("A10").Select
ActiveCell.FormulaR1C1 = "DV"
Range("B10").Select
ActiveCell.FormulaR1C1 = "3.14"
Range("M9").Select
End Sub