R
Ripan
I have a userform with numerous controls on it. The _Initialize event i
fairly extensive, and one section is setting the following array, whic
is declared in the form:
Dim statusIndicators(8) As MSForms.Image 'Array of status indicators
The code in the _Initialize method is as follows:
'Set status indicator image links
With frmDataEntry
Set statusIndicators(0) = .imgClaimInfo
Set statusIndicators(1) = .imgAccidentInfo
Set statusIndicators(2) = .imgInjuryInfo
Set statusIndicators(3) = .imgCompensability
Set statusIndicators(4) = .imgQuality
Set statusIndicators(5) = .imgRTW
Set statusIndicators(6) = .imgMM
Set statusIndicators(7) = .imgCM1
Set statusIndicators(8) = .imgCM2
End With
Somewhere in this execution, Excel crashes (that is, the "Excel ha
encountered an error and needs to shut down" dialog box with the optio
to send an error report).
Does anyone have an idea what may be wrong? Thanks
fairly extensive, and one section is setting the following array, whic
is declared in the form:
Dim statusIndicators(8) As MSForms.Image 'Array of status indicators
The code in the _Initialize method is as follows:
'Set status indicator image links
With frmDataEntry
Set statusIndicators(0) = .imgClaimInfo
Set statusIndicators(1) = .imgAccidentInfo
Set statusIndicators(2) = .imgInjuryInfo
Set statusIndicators(3) = .imgCompensability
Set statusIndicators(4) = .imgQuality
Set statusIndicators(5) = .imgRTW
Set statusIndicators(6) = .imgMM
Set statusIndicators(7) = .imgCM1
Set statusIndicators(8) = .imgCM2
End With
Somewhere in this execution, Excel crashes (that is, the "Excel ha
encountered an error and needs to shut down" dialog box with the optio
to send an error report).
Does anyone have an idea what may be wrong? Thanks