View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
=Ray= =Ray= is offline
external usenet poster
 
Posts: 1
Default Userform level class instance doesn't recognize methods

Hello,

I have a class (csList) with several properties and methods and I need to
have it "publicly" available within the routines of a userform. When I use
"Public|Private ls As New csList" at the top of the userform code and
reference the methods in any of the userform routines as "ls.method" it tells
me Method or Data Member not found (Autocompletion doesn't recognize them
either). I've also tried removing the New statement and using a "Set ls = New
csList" line in the userform code, but the same thing happened.

What am I doing wrong?
Thanks,
=Ray=