lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi:
I havethe following code:
local ExcelApp =luccom.GetObject("Excel.Application")
if ExcelApp ~=nil then
local Active_Cell =ExcelAp.ActiveCell
if Active_Cell ~=nil then
Cel_Value =Active_Cell.Value
end
end
The line:
Cel_Value =Active_Cell.Value
is neve executed as Active_Cell is Always nil, using Excel 2003.
Any help apreciated. What's wrong with the code?
Cheers
Sean.


__________ Information from ESET NOD32 Antivirus, version of virus signature database 3709 (20081220) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com