A closer look, however, suggests that a rules-based approach is superior. 1  A good monetary policy rule specifies a plan of action which the central bank cannot later ignore, while discretion allows central bankers to reactâand often overreactâto economic indicators as they see fit.
Syntax errors are errors in your code such as a missing semi-colon. Run time errors are errors that appear during run time such as an infinite loop. Logic errors appear when your code does not do what you want it to do because of the logic such as the comparisons are wrong.
Compile Errors are recognised by the VBA compiler as being illegal and therefore, are highlighted as errors before your macro even starts to run. If you type in a syntax error, the VBA editor will immediately highlight this, either by popping up a message box or by highlighting the error in red, depending on the setting of the Auto Syntax Check option (see right above).