B
Barney
In this spreadsheet for my golfing group, I have 45 macros and 45 buttons to
run them. One macro & button per golfer. Is there a way to do the same thing
with one macro and one button where I would merely place the cursor in the
proper name cell and then click the button?
E F G H I
Name Temp Points Rounded New
Quota Scored Diff 1/2 Quota
Bob 24 31 3 27
Fred 21 23 1 22
Hank 22 18 -2 20
A typical macro...............one of 45....... this one for Bob.....
Sub MoveStuff1()
Range("I7").Select
Selection.Copy
Range("F7").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=False
Range("G7").Select
Selection.ClearContents
End Sub
Thanks in advance,
Barney
run them. One macro & button per golfer. Is there a way to do the same thing
with one macro and one button where I would merely place the cursor in the
proper name cell and then click the button?
E F G H I
Name Temp Points Rounded New
Quota Scored Diff 1/2 Quota
Bob 24 31 3 27
Fred 21 23 1 22
Hank 22 18 -2 20
A typical macro...............one of 45....... this one for Bob.....
Sub MoveStuff1()
Range("I7").Select
Selection.Copy
Range("F7").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,
SkipBlanks _
:=False, Transpose:=False
Range("G7").Select
Selection.ClearContents
End Sub
Thanks in advance,
Barney