Hi,
I open a workbook with the following code.
I get the Run-time error '438' and it highlights the workbooks.open part.
The file is saved as readonly, it opens the file and it asks to enter password or read only, when readonly is clicked it opens the workbook then brings up that error?
Any Ideas?
I open a workbook with the following code.
Code:
Public Sub DKNYAnalyser()
Dim DKNYAnalyserIndex As String
On Error Resume Next
Application.DisplayAlerts = False
DKNYAnalyserIndex = "O:\mydocs\DaiKanYama Analyser.xls"
Workbooks.Open (DKNYAnalyserIndex)
End Sub
I get the Run-time error '438' and it highlights the workbooks.open part.
The file is saved as readonly, it opens the file and it asks to enter password or read only, when readonly is clicked it opens the workbook then brings up that error?
Any Ideas?