CDICKENS
Active Member
- Joined
- Mar 24, 2002
- Messages
- 498
Hello All,
I am getting a subscript out of range error when trying to load a form. The code and the form are included in an addin that resides on our network. Here is the code that is calling the form:
I have checked the name of the form and the form is in the addin.
Any suggestions?
I am getting a subscript out of range error when trying to load a form. The code and the form are included in an addin that resides on our network. Here is the code that is calling the form:
Code:
Public Sub RunTrack_Report()
Dim lstRw As Long
Dim r As Long
Dim functype As String
Dim Result As String
Dim Msg, Style, Title, Help, Ctxt, Response, MyString
'Msg = "Do you want to run this report?" ' Define message.
'Style = vbYesNo + vbCritical + vbDefaultButton2 ' Define buttons.
'Title = "Tracking Report" ' Define title.
'Response = MsgBox(Msg, Style, Title)
'If Response = vbYes Then ' User chose Yes.
Application.ScreenUpdating = False
Application.DisplayAlerts = False
CancelFrm = False
Load Track_Form ' This is where the error shows up.
I have checked the name of the form and the form is in the addin.
Any suggestions?