You did not include the opening parenthesis "(" when you created a procedure declaration,
Copy Code | |
---|---|
Sub mysample x // x should be enclosed within parentheses. End Sub |
or used the redim statement.
Copy Code | |
---|---|
Redim x // x should be enclosed within parentheses. |
To correct this error
-
Add the left (opening) parenthesis "(".