lua-users home
lua-l archive

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

I have the following code:
excel = luacom.GetObject("Excel.Application")
for index, cell in luacom.pairs(Excel.Columns(ActiveCell.Row).Cells) do
Two queries: 
I need to traverse the loop from the current collumn, can I set index to this value?
Also, How can I travese with a negative step, i.e to the previous collumn? 
Any help apreciated

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

The message was checked by ESET NOD32 Antivirus.