I. To check for syntax errors

Select the Check Syntax tool in the Tools group on the Home ribbon tab.
A message opens to indicate if no errors are detected.
When the file is checked, if any issues are detected, the details are reported in the Error list panel. The data there is displayed in four colums:
  1. An icon which indicates the type of issue detected: error, warning, or message.
  2. The line number on which the detected issue occurs. Double-click on the issue will point the input view to this line number.
  3. A description that provides details of why the issue has been identified and possible assistance in determining a resolution.
  4. A copy of the data in the line what has been identified as an issue.
You can review individual errors or warnings in the Error List panel.