excel ClipBoard copy1 Excel의 셀 범위를 ClipBoard로 Copy 하기 void __fastcall TForm1::Button1Click(TObject *Sender) { Variant xlApp, xlBooks, xlBook, xlSheets, xlSheet, vrange; xlApp = Variant::CreateObject("Excel.Application"); xlApp.OlePropertySet("Visible",true); xlBooks = xlApp.OlePropertyGet("Workbooks"); xlBooks.OleProcedure("Open", "C:\\TEST.xls"); xlBook = xlBooks.OlePropertyGet("Item", 1); xlSheets = xlBook.OlePropertyGet("Worksheets"); xlSheet = .. 2010. 1. 19. 이전 1 다음