To get back to the original problem :
'Me' is not valid within a Module

From MSDN, it says:
A keyword related to class instances, such as Me or MyBase, is used inside a module.

This means that Me cannot be used inside a module, because the Module is not a class. What you can do is to create a object of that class ( so, if you used this code in a class called Form1, you should create an object of Form1 ) :
Code:
Dim ExampleFormClass As New Form1
Then, instead of using the word Me, you could've used the word ExamplFormClass

Just in case anyone was interested