![]() |
Re: Was ist eine variable "Variant"
Aha! Sowas habe ich mir auch schon in der art gedacht ich hatte nuur zuwenig ahnung von com-objekten (eigentlich garkeine).
Das heisst ich setzte einen excel-server ("ExcelWorksheet") auf die form und gebe bei der funktion als "excel", "ExcelWorksheet1" an?
Delphi-Quellcode:
Das geht nicht!:
ads_excel.ExcelCopyToStringGrid(ExcelWorksheet1,1,1,10,5,Stringgrid1,1,1,true,true)
[Error] Unit1.pas(33): Incompatible types: 'Variant' and 'TExcelWorksheet' |
Re: Was ist eine variable "Variant"
Aha!
so wurde es wohl eher richtig sein : Excel : ExcelWorksheet1.? Kann mir jemand einen tipp für das fragezeichen geben? |
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:51 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz