Can you use the Protected attribute when programming in VBA? Every search I can think of returns a result for Visual Basic, not VBA. And, when I try using it, I get an error.
This is contained in a Class Module defining a custom Object:
The Word "Sub" is hilighted and I get the compile error "Expected: expression"Code:Protected Sub Set_LastUpdated(Value As Date) tLastUpdated = Value End Sub
What I'm trying to do is spelled out in more detail in this thread.