Hi everyone,
New to the forum and very new to Macros. I am trying to get rid of the TRUE dialog box every time I run the macro below and not sure how to accomplish that?
Thanks in advance!!
New to the forum and very new to Macros. I am trying to get rid of the TRUE dialog box every time I run the macro below and not sure how to accomplish that?
Thanks in advance!!
Code:
Sub CheckBox372_Click()
If ActiveSheet.Shapes(Application.Caller).ControlFormat.Value = 1 Then
MsgBox Range("E2").Select
Selection.Copy
Range("D2").Select
ActiveSheet.Paste
Range("K2").Select
Application.CutCopyMode = False
Application.CutCopyMode = False
ActiveCell.FormulaR1C1 = "=MID(RC[-7],10,3)+RC[2]"
Range("K2").Select
Else
MsgBox Range("D2").Select
Selection.ClearContents
End If
End Sub