Guys I was reading VBA for dummies book and trying to run this, but everytime I run I get a syntax error message. Why??? Pls help! Thanks in advance
Sub MySub() Static Counter As Integer Dim Msg As String Counter = Counter + 1 Msg = “Number of executions: “ & Counter MsgBox Msg End Sub