Hi,
I have problem writing class module and connect it to my Userform (in attachment my macro)
My userform is called "FormyAnulacji" and i want to add to them one more property:
FormyAnulacji.Rows = it will be LastRowStatement.
Class Module:
Public Property Let Rows(wiersz As Long)
lRows = wiersz
End Property
Public Property Get Rows() As Long
Rows = lRows
End Property
For example my property Rows = 10.
So i want to set this property like this in module:
FormyAnulacji.Rows = 10
and next FormyAnulacji.show
and inside my userform i should have this property which i can set up once again in userform.
Or maybe I can do it directly in userform (not use module?)
So goal:
Write additional property to my userform in order to use it inside all buttons and listbox within userform.
Please help,
Best Regards,
Jacek Antek
Bookmarks