Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Expected 'In'

You created a For EachNext block, but did not include the In keyword in the first line. The following demonstrates the correct structure of a For EachNext block.

                      For Each element In group
   [Exit For]
Next [element]

To correct this error

  • Make sure that the For EachNext block includes all the necessary parts.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.