|
Is it possible that the Word Open() COM function takes more than one parameter? If I remember correctly in LuaCOM you'd need to provide all of them, there not being a way to have default params.
Hth,
Robby
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