I want to provide a message if the Select in the macro fails. With the code below, I'm getting the error Expected 'Then', with "District of Columbia" = false then highlighted. Anyone have a suggestion? Thanks.
if ActiveDocument.Fields("STATE_NAME"). Select "District of Columbia" = falsethenmsgbox("Data does not exist for the selected Reporting State.")