Hi everyone!!!

According to this page (http://msdn.microsoft.com/vba/Prodinfo/features.asp) this should be possible to do! I've got the following code I'm trying to use in a word vba class module (which has been made public):

VB Code:
  1. Public Type udtSTYLEFONTINFO
  2.     Bold                As Boolean
  3.     CharacterSpacing    As Integer
  4.     Colour              As String
  5.     Italic              As Boolean
  6.     Size                As Integer
  7.     SmallCaps           As Boolean
  8.     Underline           As Boolean
  9. End Type
  10.  
  11. Public Function GetStyleFontInfo(ByVal strStyleName As String) As udtSTYLEFONTINFO
  12.     GetStyleFontInfo.bold = true
  13. End Sub

When I hit space after the as part of the function declaration, or try to write the .bold = true part, I get no intellisense for the custom udt appear. If I try to run the code, it highlights the "As udtSTYLEFONTINFO" part stating "User defined type not defined".

Um, HELP!!!!! please!