Hi,
I am using LuaCOM to open a word document but I get this error:
> word.Documents.Open("D:/1.docx")
COM error:(.\src\library\tLuaCOM.cpp,403):Type mismatch.
stack traceback:
[C]: in function 'Open'
stdin:1: in main chunk
[C]: ?
The function works fine if I use it from VBA. Can anyone help me figuring out why this does not work?
Thanks,
Milind