You can use HTMLTable! to make it look like excel file.
string ls_filename, ls_path, ls_describe
long ll_retval
ll_retval = GetFileSaveName ( "Select File", ls_path, ls_filename, "Excel", "Excel (*.xls),*.xls")
if ll_retval <> 1 then return
if UPPER(right(trim(ls_filename),3)) = 'XLS' then
//Use HTMLTable! instead of Excel but rename the file with an xls extension
dw_1.of_saveas("Filename.xls",ls_path, HTMLTable!,TRUE)
end if
No comments:
Post a Comment