Expand Minimize
This topic has not yet been rated - Rate this topic

Leading '.' or '!' can only appear inside a 'With' statement

A period (.) or exclamation point (!) that is not inside a With block occurs without an expression on the left. Member access (.) and dictionary member access (!) require an expression specifying the element that contains the member. This must appear immediately to the left of the accessor or as the target of a With block containing the member access.

Error ID: BC30157

To correct this error

  1. Ensure that the With block is correctly formatted.

  2. If there is no With block, add an expression to the left of the accessor that evaluates to a defined element containing the member.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.