Hi,
I have a VBA code that miss some class modules. I know what the class modules are supposed to do so I'm currently trying to rebuld them. My problem is the following.
In Defenition Module
Public c As New wsConstants
In a seperate module I have the following code
NumOfMembers = .Cells(iRowTop, c.ClassDetail.memberColumn)
What do I write in the class module "ClassDetail"
I have tried the following
Option Explicit
Public memberColumn As Integer
Public Function ClassDetail() As Variant
memberColumn = 1
End Function
It is essential that I can use the "c.ClassDetail.memberColumn" string and get the value 1!
Is there someone who has any experience rearding this?
Thanks for any help!
I have a VBA code that miss some class modules. I know what the class modules are supposed to do so I'm currently trying to rebuld them. My problem is the following.
In Defenition Module
Public c As New wsConstants
In a seperate module I have the following code
NumOfMembers = .Cells(iRowTop, c.ClassDetail.memberColumn)
What do I write in the class module "ClassDetail"
I have tried the following
Option Explicit
Public memberColumn As Integer
Public Function ClassDetail() As Variant
memberColumn = 1
End Function
It is essential that I can use the "c.ClassDetail.memberColumn" string and get the value 1!
Is there someone who has any experience rearding this?
Thanks for any help!