Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* ej24_EscribirXLS
- Ejemplo para escribir archivos de Excel */
- #include <radc++.h>
- Form form1("Microsoft Excel Escritura de archivo - RAD C++ Ejemplo");
- rad_main()
- XLS x; //create variable of class XLS
- //Row and column must be ZERO based
- x.addCell(0,1,"name:"); x.addCell(1,1,"Ali Imran");
- x.addCell(0,2,"email:"); x.addCell(1,2,"support@radcpp.com");
- x.addCell(0,3,"age:"); x.addCell(1,3,"30");
- x.addCell(0,10,"RAD C++ XLS class test");
- x.writeFile("myfile.xls");
- form1.msgBox("File has been written");
- Application.close();
- rad_end()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement