I'm new to object oriented programming. I have two classes in class-modules:
ClassA
Public Time As Double
ClassB
Public Sub Progress()
ClassAObject.Time = 5
End Sub
This is the code running in the subroutine
Public Sub Progressing()
Dim ClassAObject As New ClassA
Dim ClassBObject As New ClassB
Call ClassBObject.Progress
End Sub
The subroutine ClassBObject.Progress seem to not be able to access ObjectA. I think how I refer to the object might be wrong. How do I fix this?