Hi,
i have a problem in calling excel Fourier analysis functions from vc++.
the below line gives a error while running.
the error rises in excel sheet.
Code:
mp_application->Run("ATPVBAEN.XLA!Fourier",
(const variant_t)p_work_sheet->GetRange(p_range_pointer->Item[dw_dest_row1][dw_dest_col1],p_range_pointer->Item[dw_dest_row1][dw_dest_col1]),
(const variant_t)p_work_sheet->GetRange(p_range_pointer->Item[dw_dest_row1][dw_dest_col1],p_range_pointer->Item[dw_dest_row1][dw_dest_col1]),
false,false);
ERROR is : fourier analysis - input range must be contagious reference.
mp_application is a Excel::_ApplicationPtr
p_work_sheet is a Excel::_WorksheetPtr
please help me in finding out, what mistake i am doing while sending the parameters.
help is highly applicable.
thanks in advance.
- satya.