Search DaTutorials:  
HOME
VB Script Tutorials
Introduction
Reference
Tutorials

Expected 'With'

You created a With block, but terminated it with the End keyword instead of the End With statement. A With block must be terminated with an associated End With statement. The following demonstrates the correct composition of a With block.

With object
   statements
End With

To correct this error

  • If you ended your With block with an End keyword, change it to the End With statement.
  • Make sure that the With control structure includes all the necessary parts.

See Also

Using Conditional Statements | With Statement | Set Statement | If...Then...Else Statement | Select Case Statement


     Credit Cards | Links of Movies | Credit Cards | Loans | Libros más vendidos
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp