I know we've all heard this before ;-), but I really didn't make any changes to these objects! Now I'm getting a Type Mismatch error on the bolded statement. I'd sure appreciate any ideas on how to isolate the cause of the problem. Thanks in advance.
Set RenewalLtr = New RenewalLetter
Set Oppies = New Opportunities
Oppies.Add MyOpportunity
RenewalLtr.Renewal_Transmittal Oppies, True, _
MyUtil, MyTeam, MyUser
Except for the boolean TRUE, all the other arguments are class objects defined as
Global MyTeam As Team
Global MyUser As User
Global MyUtil As Utility
I've run a test with a Watch window and the class objects all exist and are correctly defined before the error occurs.
The RenewalLtr subroutine is defined as follows:
Set RenewalLtr = New RenewalLetter
Set Oppies = New Opportunities
Oppies.Add MyOpportunity
RenewalLtr.Renewal_Transmittal Oppies, True, _
MyUtil, MyTeam, MyUser
Except for the boolean TRUE, all the other arguments are class objects defined as
Global MyTeam As Team
Global MyUser As User
Global MyUtil As Utility
I've run a test with a Watch window and the class objects all exist and are correctly defined before the error occurs.
The RenewalLtr subroutine is defined as follows:
Code:
Public Sub Renewal_Transmittal(oppies As Opportunities, Preview As Boolean, Util As Utility, tm As Team, usr As User)