I defined a type with the statement:
Type blah
i As Integer
End Type
Then tried to use the new type in the same module:
Public Sub asub()
Dim myblah As blah
myblah.i = 5
End Sub
And got an undefined type compile error for the line:
dim myblah as blah
Why?
-Venkman
Type blah
i As Integer
End Type
Then tried to use the new type in the same module:
Public Sub asub()
Dim myblah As blah
myblah.i = 5
End Sub
And got an undefined type compile error for the line:
dim myblah as blah
Why?
-Venkman