Hallo alle Entwickler-Forum-Leser,
seit paar Tagen arbeite ich mit BC++Builder5.0 und versuche die neuen Servers Komponenten zu nutzen.
Bis jetzt ist mir gelungen EXCEL zu starten :
ExcelApplication1->Connect();
ExcelApplication1->Visible[GetUserDefaultLCID()]=True;
ExcelApplication1->Workbooks->Add();
ExcelWorkbook1->ConnectTo(ExcelApplication1->ActiveWorkbook);
ExcelWorksheet1->ConnectTo(ExcelApplication1->ActiveSheet);
Die Frage ist jetzt , wie setze ich Format einer Spalte oder ein Wert in eine Zelle (zB.Range["a1"].Value = "abc").
Ich vermute ExcelWorksheet1->Cells ... aber wie get es weiter?
Kann mir jemand helfen?
MfG Lucyna Ortlieb
seit paar Tagen arbeite ich mit BC++Builder5.0 und versuche die neuen Servers Komponenten zu nutzen.
Bis jetzt ist mir gelungen EXCEL zu starten :
ExcelApplication1->Connect();
ExcelApplication1->Visible[GetUserDefaultLCID()]=True;
ExcelApplication1->Workbooks->Add();
ExcelWorkbook1->ConnectTo(ExcelApplication1->ActiveWorkbook);
ExcelWorksheet1->ConnectTo(ExcelApplication1->ActiveSheet);
Die Frage ist jetzt , wie setze ich Format einer Spalte oder ein Wert in eine Zelle (zB.Range["a1"].Value = "abc").
Ich vermute ExcelWorksheet1->Cells ... aber wie get es weiter?
Kann mir jemand helfen?
MfG Lucyna Ortlieb
Comment