I am not sure how to refer to an Object in my sub
Normally if I didn't need to use the object when I clicked enter I'd call my form byPlease Login or Register to view this content.
However if I leave out the frm_Name As Object I get the error 'Argument Not Optional' when I use the frm_Name in cmd_Enter_Click.Please Login or Register to view this content.
So my question is what do I need to do to use an Object in the Sub cmd_Enter_Click()?
As always thanks for helping me.
EDIT: FOR CLARITY, VBA won't take the parameter but I need a parameter or I can't use the object.
Bookmarks