View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Zayas Zayas is offline
external usenet poster
 
Posts: 3
Default Error 13 in 'WorkBooks.open'

I distribute by Internet a free program and sometimes it happens the
strange error that I describe:

I have an Excel workbook and one of the macros open another workbook.
I do not know why, when the macro open the second workbook, some
times, occurs an "error 13".
Somebody has idea that it can happen?

Dim FileToOpen1 As String
FileToOpen1 = "C:\Files\ExcelData.xls"
Workbooks.Open Filename:=FileToOpen1


Thanks in advance.

Zayas