Why are you using the eval statements, and why are you using the string form of the eval statements when calling Excel methods? In my experience, the direct way works just as well and looks far less ugly:
... $rowval = $ex->Workbooks(1)->Worksheets('Versions')->Cells($rowcounter +,1)->{Value} ...
In reply to Re^2: Scripting data extraction from excel files in a directory.
by Corion
in thread Scripting data extraction from excel files in a directory.
by ark989
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |