Unmatched brackets in search string

An opening bracket must be matched by a closing bracket. This error has the following cause and solution:

  • You opened a bracket pair in a search string, but did not close it with a matching closing bracket. Place a closing bracket in the appropriate place.

For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.