Table of contents
TOC
Collapse the table of content
Expand the table of content

End With without With

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

End With must be matched with a preceding With. This error has the following cause and solution:

  • You used an End With statement without a corresponding With statement. Check other control structures within the With...End With structure and verify that they are correctly matched. For example, an If without a matching End If inside the With...End With structure can cause this error.

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

© 2018 Microsoft