lua-users home
lua-l archive

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

How far do you get? Do you have a debugger of sorts to single step your code, or how do you know that all the lines prior to the one you mention does what's intended?

Díd you copy/paste your code you're trying to run, or simply typed it in, making new typos not present in your actual code you are using?

I'm asking since I spotted another suspect line:

local ExcelApp =luccom.GetObject("Excel.Application")

shouldn't it be luacom.GetObject?

I'm not familiar with luacom, so I'm sorry if I'm all wrong here.


----- Original Message ----- From: "Luiz Henrique de Figueiredo" <>
To: "Lua list" <>
Sent: Monday, December 22, 2008 11:14 AM
Subject: Re: issues with luacom

Is this a typo:
local Active_Cell =ExcelAp.ActiveCell
Shouldn't it be ExcelApp instead of ExcelAp?

Just a guess... (though I expect an error would be raised)