B
Bula
Hello:
I am trying to create a User Defined Type like this in an Access VBA
module:
Public Type Applicant
FirstName As String
LastName As String
End Type
Sub DefineUDT()
Dim uApp As Applicant
uApp.FirstName = "Dick"
uApp.LastName = "Kusleika"
End Sub
When I run the DefineUDT procedure, I got a "User Defined Type not
deifined error".
The same type and procedure can run in Excel VBA. I guess I should
refer to a library for the UDT or something.
Please help me to create an UDT in Access.
Thank you very much!
Zhu
I am trying to create a User Defined Type like this in an Access VBA
module:
Public Type Applicant
FirstName As String
LastName As String
End Type
Sub DefineUDT()
Dim uApp As Applicant
uApp.FirstName = "Dick"
uApp.LastName = "Kusleika"
End Sub
When I run the DefineUDT procedure, I got a "User Defined Type not
deifined error".
The same type and procedure can run in Excel VBA. I guess I should
refer to a library for the UDT or something.
Please help me to create an UDT in Access.
Thank you very much!
Zhu