I'm exporting data from a Datawindow and saving it in excel. The following is the code that does that.
value = GetFileSaveName("Save Report as", & docname, named, "xls", &" Excel Files (*.xls), *.xls")
IF value = 1 THEN
dw_1.Saveas(docName,Excel!,TRUE)
When I open the excel file that has been created, I get the following message: "File error:dData may have been lost".
Is there anything that can be done to fix this error?