Hi Afin, You can use SYSEXCELAPPLICATION class for opening the excel application on the desktop from AXAPTA.
The Code should look something like this SysExcelApplication application; SysExcelWorkbooks workbooks; ; application = SysExcelApplication::construct(); workbooks = application.workbooks(); application.visible(true); workbooks.add(); // In case you want to open a new blank worksheet workbooks.open( str _filename)// In case you want to open the existing file in to excel from the code in Axapta.(Str _ filename is nothing but the string parameter for the function) i.e. your existing file path. On Tue, Aug 17, 2010 at 12:35 PM, thomas 'znal' ramdhan < thomasramd...@gmail.com> wrote: > > > Dear all, > > I'd like to know, how can I open a file automatically through Axapta ? > Let's say, I have an excel file in my desktop, and I'd like to open it by > code in Axapta. > > Thanks and Regards, > Afin > > -- > ne faites pas une limite pour votre competence > ------------------------------------------------------------------------- > bilden Sie nicht eine Begrenzung fur Ihre Fahigkeit > ------------------------------------------------------------------------- > non faccia un limite per la vostra abilita > ------------------------------------------------------------------------- > --(-@ > > -- Thanks and Regards Nikhil Pujar