Am i not allowed to do this in a DLL? (following code is in the Class Module)

Code:
Public Sub BusyProgram(cmdButton As Object, Optional bNotBusy As Boolean)
    '.... code here
End Sub
Can a sub have parameters passed in? If i remove them, it works fine. If i make it into a Property Get (aka Function) it works with the parameters.

I just want the DLL to perform a task. I don't need a value passed back.