User Type not defined error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • PhilOfWalton
    Recognized Expert Top Contributor
    • Mar 2016
    • 1430

    User Type not defined error

    I am getting a compile error



    I have tried decompiling, building a new Db.

    Other databases using outlook work perfectly.

    Anyone any ideas please

    Phil
  • twinnyfo
    Recognized Expert Moderator Specialist
    • Nov 2011
    • 3665

    #2
    When you compile, does it highlight any specific line of code?

    Comment

    • PhilOfWalton
      Recognized Expert Top Contributor
      • Mar 2016
      • 1430

      #3
      Thanks for coming back.

      I am a complete idiot. For some stupid reason I had set a reference to Excel instead of Outlook.

      All working now.

      So sorry for troubling you and just as sorry for making a fool of myself.

      Phil

      Comment

      • twinnyfo
        Recognized Expert Moderator Specialist
        • Nov 2011
        • 3665

        #4
        No problem. I'm sure I've made my share of 1D-10T errors.

        Comment

        Working...