problem with export to excel
i am opening the query in access and exporting it to existing worksheet within the existing excel file ,as in below code
Private Sub Command59_Click()
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, "queryname", "pathname", , "worksheetname"
End Sub
------------------------------------------------------------
the above code when run says "cannot update.database or object is read-only "
can u help me wit this please....
supreeth
|