Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void __fastcall TForm1::toExcelCell(int Row,int Column, AnsiString data)
- {
- try {
- Variant cur = Sh.OlePropertyGet("Cells", Row,Column);
- cur.OlePropertySet("Value", data.c_str());
- } catch(...) { ; }
- }/* toExcelCell() */
- //------------------------------------------------------------------------
- void __fastcall TForm1::toExcelCell(int Row,int Column, Variant data)
- {
- try {
- Variant cur = Sh.OlePropertyGet("Cells", Row,Column);
- cur.OlePropertySet("Value", data);
- } catch(...) { ; }
- }/* toExcelCell() */
- //---------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement