mikej28621
MIS
I need to be able to copy a cell to a range of cells. I was able to accomplish it by
Selection.Copy
colIndex = ActiveCell.Column
rwIndex = ActiveCell.Row
For rwIndex = 6 To 20
With Worksheets("Sheet1").Cells(rwIndex, colIndex)
Cell(rwIndex, colIndex).Select
ActiveSheet.Paste
End With
Next rwIndex
but I want wondering if there was a way to do it like
Selection.Copy
Range("E7:E16").Select
ActiveSheet.Paste
but using a relative reference rather then the Absolute "E7:E16" reference. I am also considering the R1C1 notation. Any thoughts appreciated.
Selection.Copy
colIndex = ActiveCell.Column
rwIndex = ActiveCell.Row
For rwIndex = 6 To 20
With Worksheets("Sheet1").Cells(rwIndex, colIndex)
Cell(rwIndex, colIndex).Select
ActiveSheet.Paste
End With
Next rwIndex
but I want wondering if there was a way to do it like
Selection.Copy
Range("E7:E16").Select
ActiveSheet.Paste
but using a relative reference rather then the Absolute "E7:E16" reference. I am also considering the R1C1 notation. Any thoughts appreciated.