• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 334
  • Last Modified:

Project wont compile.

when trying to comile my project on my XP box,.  


 Dim WordApp As Word.Application
   Dim WordDoc As Word.Document
   Dim strLetter As String
   Dim strConnect As String

I recieve an error  "User Defined Type Not Defined"

The DB was created on Windows 7 and I am trying to now run the DB on an XP box
0
seamus9909
Asked:
seamus9909
2 Solutions
 
Gustav BrockCIOCommented:
Goto Tools, References in the VBA windows.
You probably refer to a newer version of Word than that installed on the XP.

/gustav
0
 
mbizupCommented:
Check references in the vba editor.

Tools-->references

Uncheck any that are Missing and select the correct version from the list.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now