passing an acitvity object to code module

melamoud

Active Member
Licensed User
Longtime User
why cant I pass a view to a sub in a code module ?
I get an error that I need to put it in class global ?

I want to maintain a list of views, do I have to use class instead ?
why ?
 

melamoud

Active Member
Licensed User
Longtime User
thats similar to what I have, I get compilation error if a parameter to a code module sub is a view
 
Upvote 0
Top