dim xls as new excel.worksheet
...... 
xls.SaveAs (CommonDialog1.FileName)
执行上面一条时,报错:此excel文件为只读,不可写。在这条语句前也打开过这个excel  文件,我基本上是用如下的语句:
 Dim xla As New Excel.Application
Dim xlb As New Excel.Workbook
......
Set xlb = xla.Workbooks.Open(strPath3)
......
  xlb.Close
.....
 xla.Quit
 Set xlb = Nothing
Set xla = Nothing请问什么地方有可能使我的excel文件变为只读状态?或我少写了什么语句?