hi people,
It's my first time here...and, i need help.
How can i make objects (module class - with atributes and methods) in excel 2003
I don't find help about this.
Thanks!
Visual Basic for Applications (VBA)
hi people,
It's my first time here...and, i need help.
How can i make objects (module class - with atributes and methods) in excel 2003
I don't find help about this.
Thanks!
Thanks Tantani!
the e-book is great!
______________________________
class module - "People"
xxxxxxxxxxxxx
Option Explicit
Private csNome As String
Public Property Get getNome() As String
getNome = csNome
End Property
Public Property Let letNome(tsNome As String)
csNome = tsNome
End Property
________________________________
module 1
xxxxxxx
Option Explicit
Dim gnPeople as People
Sub teste()
Set gnPeople = New People
gnPeople.letNome = "Dan"
msgbox gnPeople.getNome
End Sub