Autor Beitrag
PPaB
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33



BeitragVerfasst: Fr 23.04.10 13:02 
Bei mir wird beim Struktur (über dem Objektinsektor) bei allen Wörtern ein Fehler angezeigt, bei denen ich auf das Excel-Sheet zugreife, also hier bei dem Ausschnitt z.B. Font, Bold, Value. Zwar ändert das nichts daran, dass ich das Programm normal verwenden kann, wollte nur mal fragen, ob man es irgendwie schaffen kann, dass die Fehler nicht mehr als Fehler angezeigt werden oder ob man es einfach akzeptieren muss und am besten nicht hinschauen ;-)?
Ich benutzte Turbo Delphi.

MfG
PPaB

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
if Excelspeichern.Execute then begin
    try
      excel := CreateOleObject('Excel.Application');
      excel.visible := False;
    except
      ShowMessage('Excel konnte nicht gestartet werden !');
    end;
    Excel.Workbooks.Add;
    for J:=0 to 11
      do begin
      Excel.Cells[1,J+1].Value :=StringGrid3.Cells[J,0];
      Excel.Cells[1,J+1].Font.Bold := True;
        for I := 1 to StringGrid3.RowCount-1 do
          Excel.Cells[I+2,J+1].Value :=StringGrid3.Cells[J,I];
      end;



Moderiert von user profile iconNarses: Topic aus Sonstiges (Delphi) verschoben am Fr 23.04.2010 um 15:01
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Fr 23.04.10 13:24 
Das ist normal. Diese Fehleranzeige arbeitet nicht ganz fehlerfrei. ;-)

_________________
We are, we were and will not be.
PPaB Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 33



BeitragVerfasst: Fr 23.04.10 13:27 
ok, dann ist da halt nichts zu machen, dann werde ich damit leben :wink: