M
Mike
Novice level user of Excel 2003. I have a macro I want to copy down
hundereds of rows. When I copy and paste the button assigned to a macro it
copies but the macro runs for the first row. I need the macro to run for the
row the button is clicked on. Info as follows:
Sub CheckedLater()
'
' CheckedLater Macro
' Macro recorded 12/12/2008 by
'
'
Range("A6:K6").Select
With Selection.Interior
.ColorIndex = 41
.Pattern = xlSolid
End With
Selection.Interior.ColorIndex = 33
Range("A6").Select
End Sub
....so if I copy the button down to row 7, I would like the range to reflect
A7:K7.
Any help would be greatly appreciated.
hundereds of rows. When I copy and paste the button assigned to a macro it
copies but the macro runs for the first row. I need the macro to run for the
row the button is clicked on. Info as follows:
Sub CheckedLater()
'
' CheckedLater Macro
' Macro recorded 12/12/2008 by
'
'
Range("A6:K6").Select
With Selection.Interior
.ColorIndex = 41
.Pattern = xlSolid
End With
Selection.Interior.ColorIndex = 33
Range("A6").Select
End Sub
....so if I copy the button down to row 7, I would like the range to reflect
A7:K7.
Any help would be greatly appreciated.