Announcement

Collapse
No announcement yet.

ExcelApplication,ExcelWorkbook,ExcelWorksheet

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ExcelApplication,ExcelWorkbook,ExcelWorksheet

    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

  • #2
    Hallo Lucyna

    Ich kann Dir zwar nicht selbst weiterhelfen weil ich genau das gleiche Problem habe. Aber ich hab eine Stellungnahme von Borland. Vielleicht hilft Sie uns weiter. Wenn ich (Non Professional Programmierer) ein Loesung hab werde ich Sie Dir mitteilen. Wenn Du eine hast sag mir bitte bescheid:

    Es folgt: E-Mail mit Antwort von Borland:

    /--------------------------------------------------
    Dear Hans-Peter,

    The server components were put onto the component palette as samples by the developers. They are not components that Borland developed and we never had planned on describing them. They are Microsoft objects that are pretty much described in the MSDN Office Developer Documentation:

    http://msdn.microsoft.com/library/

    We have attempted to document these objects in our spare time but we are busy documenting future products. I'm attaching a preliminary help file that contains TWordApplication. For more information, try:

    http://www.djpate.freeserve.co.uk/Automation.htm

    Good luck,

    Delphi/C++Builder Publications

    SNI Fricke wrote:

    There is no helpful Documentation or example which explains the usage of the new ActiveX Server Components. It seems to be that nearly nobody knows how to work with it. Because there are a long time outstanding questions about this problem in a few "entwickler-foren". For example in the Internet pages "http://www.entwickler.com/cgi-bin/WebX"
    (<a href="/cgi-bin/WebX?13@@.ee6d13b">Lucyna Barbara Ortlieb 11.04.2000 07:51</a>")

    sincerly Hans-Peter Fricke (Borland Customer)
    >
    [email protected]

    Comment

    Working...
    X