You can do that by passing the argument in a Sub in the Code Module (called CodeModule here)....
Sub DoStuff(lv As ListView)
'do stuff with lv here
End Sub
.... and in your activity....
.... you don't need to return lv because objects are passed by reference so lv will be updated in the Activity you called the Sub from.
That's what I'm doing anyway. Points to me for effort.
