Forum Discussion
karkadil
16 years agoValued Contributor
In your code example, I can see that you are trying to open file using variable fileName (oExcel.Workbooks.Open(fileName)) whereas you pass to function 2 different parameters (fileName1,fileName2).
Might it be a reason? :)
Might it be a reason? :)