Another approach would be to make a function to return the value of the var, and another to set it.
There, it should be simplier and faster than Property Get/Set, but you would have to use these functions instead of Something = MyVar or MyVar = Something...Code:Dim MyVar As Long Public Sub SetMyVar(ToWhat As Long) MyVar = ToWhat End Sub Public Function GetMyVar() As Long GetMyVar = MyVar End Sub
Oh, and thanks for replying. I like people that say "Thanks dude that works you're great"![]()








Reply With Quote