Am using abap+ole and code snippet below is failing; am using Excel 2007 in compatibility mode.
I just want to save the spreadsheet as a new name.
Really would appreciate your insights!
parameters: p_file type localfile default 'C:\temp\zz.xls'.
data: g_new type localfile value 'c:\temp\zzzzzzz.xls'.
data: e_work type ole2_object.
call method of e_work 'SAVEAS'
#1 = g_new.
(returns subrc = 2)