I'm trying to use a public User Defined Type from within a class module. The UDT has been declared in a public module, the instance in a class module, like this:
This is not allowed, apparently. The compiler gives me this error:VB Code:
'Module: Public Type tText Font As String Format As String End Type 'Class Module Public Text as tText
Why can't UDT's be used publicly?Originally Posted by VB Compiler
![]()


Reply With Quote
