Hello - I am trying to figure out how to run a code based on multiple cells selected by mouse.
I have been trying some basics to figure it out with no success:
Can anyone help - Thanks - Jim A
I have been trying some basics to figure it out with no success:
Code:
Sub Color_Green()
Application.ScreenUpdating = False
Dim Ac As Range
Dim a, b As Long
With ActiveSheet
Set Ac.Range = Selection.Address
Range(a, b) = Ac
MsgBox (Ac)
MsgBox (a)
MsgBox (b)
End With
Exit Sub
Can anyone help - Thanks - Jim A