Thread: Module Access
View Single Post
Old Apr 5th, 2005, 2:26 PM   #6
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
This code seems to work for me...
Public Property Get MyLabel() As Label
Set MyLabel = UserControl.Label1
End Property
Public Property Set MyLabel(ByRef NewLabel As Label)
Set UserControl.Label1 = NewLabel
End Property
That kind of error doesn't seem to be possible anywhere in this code: are you sure it's an error with that particular bit?
Rory is offline   Reply With Quote