Wonder if anyone has come across this.
I have a workbook with some userforms. When the workbook is loaded, it automaticlly loads a 'StartUp' userform.
StartUp form has command buttons on it that unloads the 'StartUp' form and loads whichever form has been requested.
The problem is with the 'Add Titles' form.
Sometimes this works, sometimes it doesn't. I have used the same code to load all the other forms, and in different
workbooks and have never had a problem, but for some reason, with this form, now I do.
The error message I get is ..Path/File access error. Sometimes I have to click the 'OK' button a number of times before
another message box appears - other times it appears on the first click. The second message box says....
Run-time error '75'
Could not find the specified object.
When I click the End or Debug button, excel crashes and restarts.
I have attached the workbook if anyone would care to take a look at this.
The code below is the code that is causing the problem.
Any and all help ia appreciated.
I have a workbook with some userforms. When the workbook is loaded, it automaticlly loads a 'StartUp' userform.
StartUp form has command buttons on it that unloads the 'StartUp' form and loads whichever form has been requested.
The problem is with the 'Add Titles' form.
Sometimes this works, sometimes it doesn't. I have used the same code to load all the other forms, and in different
workbooks and have never had a problem, but for some reason, with this form, now I do.
The error message I get is ..Path/File access error. Sometimes I have to click the 'OK' button a number of times before
another message box appears - other times it appears on the first click. The second message box says....
Run-time error '75'
Could not find the specified object.
When I click the End or Debug button, excel crashes and restarts.
I have attached the workbook if anyone would care to take a look at this.
The code below is the code that is causing the problem.
Any and all help ia appreciated.
Code:
Private Sub buttAddNew_Click()
Unload Me
Sheets("DCPList").Select
frmDCPLog.Show
End Sub