Next: 6.3 Lua Extended API
Up: GetEnumerator
Previous: Return Values
Contents
Fabio Mascarenhas de Queiroz 2005-01-07
Sample
-- Prints all sheets of an open Excel Application excel = luacom.GetObject("Excel.Application") e = luacom.GetEnumerator(excel.Sheets) s = e:Next() while s do print(s.Name) s = e:Next() end
Fabio Mascarenhas de Queiroz 2005-01-07