Translate

2013/09/06

學習Excel XP Components的網站



以下這個內容好重要嘿!
==================
对Excel单元格的访问通常是使用Range属性,其调用格式如下(以下都正确):
// property Range[Cell1: OleVariant; Cell2: OleVariant]: ExcelRange read Get_Range;

ExcelApp.Cells.Range['A1:C2', EmptyParam].Value := 'ab';

ExcelApp.Cells.Range['A1', 'C2'].Value := 'ab';

ExcelApp.Cells.Range['A1:C2', EmptyParam].Value2 := 'ab';

ExcelApp.Cells.Range['A1', 'C2'].Value2 := 'ab';


但是奇怪:参数Cell1, Cell2不能为数字,也不能为Null,否则会报 “OLE error 800A03EC.” 的错误!

Delphi in Web Development: WebBroker + EasyUI (01)

I have been received many demand about web development for long time. But, I don't wont to use ASP.NET develop the web project. M...