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!!
 
I need more code showing what it is you are doing during this process.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top