can only open read-only Excel file from VB

  • Thread starter Thread starter Ultima
  • Start date Start date
U

Ultima

I have searched the group and it seems this question has been asked and
answered before, yet I still can't fix it after applying the answers I
found.

Basically, when I open an existing Excel file, make some changes and
save it, I get an error saying that this file is opened as read-only.

I have
myExcelApplication.Workbooks.Open(ExcelFileName, , ReadOnly:=False)
and
myExcelApplication.ActiveWorkbook.Close(SaveChanges:=True)

yet I still get this read-only problem. Any ideas? Thanks!!
 
Back
Top