You are here: Home » Macro Library » Lesson 7.2 – file open notification
Even when i set listener to public (Public listener As clsListener), i cannot set listener = Nothing under Private Function swApp_FileOpenNotify2
I changed the class module to PublicNotCreatable. But is not working either .
I get error —> Compile error: Expected variable or procedure, not project
Edgar,
You are getting this error message because your listener variable name is the same as your project. So you need to change one or the other.
That Fixed it. Thanks !!!
You must be logged in to post a comment.
Even when i set listener to public (Public listener As clsListener), i cannot set listener = Nothing under Private Function swApp_FileOpenNotify2
I changed the class module to PublicNotCreatable. But is not working either .
I get error —> Compile error:
Expected variable or procedure, not project
Edgar,
You are getting this error message because your listener variable name is the same as your project. So you need to change one or the other.
That Fixed it. Thanks !!!