Excel macro, editing recorded cell.. not current

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

So I recorded a Macro... and I want it to be able to edit values next to the
current cell, not the ones i recorded the macro on.

here is the macro file..


Range("K3").Select
Selection.Insert Shift:=xlDown
Range("K3:L3").Select
With Selection.Interior
.ColorIndex = 6
.Pattern = xlSolid
End With
Range("I4").Select
 
ActiveCell.Offset(0,1).Insert Shift:=xlDown
With ActiveCell.Resize(1,2).Interior
.ColorIndex = 6
.Pattern = xlSolid
End With
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top