budz
Programmer
- May 3, 2001
- 17
Hi guys, I have a problem in accessing my xls file with macro using vfp and im using the ff code:
oExcel = CreateObject('Excel.Application')
oWb = oExcel.Workbooks.open('c:\temp.xls')
oExcel.Application.visible = .t.
oExcel.DisplayAlerts = .t.
The problem is the xls file is always open read only. How can i open the xls file that is not read only so that i can save the changes in the same filename.
Thanks guys.
oExcel = CreateObject('Excel.Application')
oWb = oExcel.Workbooks.open('c:\temp.xls')
oExcel.Application.visible = .t.
oExcel.DisplayAlerts = .t.
The problem is the xls file is always open read only. How can i open the xls file that is not read only so that i can save the changes in the same filename.
Thanks guys.