C
Celtic_Avenger
I have created a msgbox that is activated by an active control button
using the following code......
MsgBox Range("AC6") & Range("AD6") & Range("AE6") & Chr(13) & "Woul
you like to set your Sales Target to this value?", vbYesNo, "MINIMU
ACCEPTABLE STANDARDS"
This brings up a box that shows relevant information, and then asks
yes - no question.
If the user selects "Yes", I would like to run the followin
code..........
Range("J3:K3").Select
ActiveCell.FormulaR1C1 = Range("AE6")
but do nothing and close the msgbox if "No" is pressed.
Could some kind soul show me how to join the two codes.
Thanks.
Celtic_Avenger
:confused
using the following code......
MsgBox Range("AC6") & Range("AD6") & Range("AE6") & Chr(13) & "Woul
you like to set your Sales Target to this value?", vbYesNo, "MINIMU
ACCEPTABLE STANDARDS"
This brings up a box that shows relevant information, and then asks
yes - no question.
If the user selects "Yes", I would like to run the followin
code..........
Range("J3:K3").Select
ActiveCell.FormulaR1C1 = Range("AE6")
but do nothing and close the msgbox if "No" is pressed.
Could some kind soul show me how to join the two codes.
Thanks.
Celtic_Avenger
:confused