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
Ensure that the With block is correctly formatted.
If there is no With block, add an expression to the left of the accessor that evaluates to a defined element containing the member.