justme
Well-known Member
- Joined
- Aug 26, 2002
- Messages
- 729
I have two "identical" workbooks being completed by two different people. My email code works in one, but not another. I copied the code from the workbook that works to the workbook that doesn't and I still get the compile error: User-defined type not defined.
Excel help isn't helping. The code stops in the second line below:
Dim FName As String
Dim VBComp As VBComponent (here, this line is hi-lited)
Dim wbnew As Workbook
Dim x As String
Thoughts?
Excel help isn't helping. The code stops in the second line below:
Dim FName As String
Dim VBComp As VBComponent (here, this line is hi-lited)
Dim wbnew As Workbook
Dim x As String
Thoughts?