Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

'<keyword>' is valid only within an instance method

The Me, MyClass, and MyBase keywords refer to specific class instances. You cannot use them inside a shared Function or Sub procedure.

Error ID: BC30043

To correct this error

  • Remove the keyword from the procedure, or remove the Shared keyword from the procedure declaration.

© 2015 Microsoft