Raj,
My:
FilePath = "O:/QTP Tests/QTPOutputData/ViewZipFax.xls"
Well, I figured out why, but now during the SaveAs I get the RunError:
Microsoft Office Excel cannot access the file 'O://QTP Tests/QTPOutputData/ViewZipFax.xls'. There are several possible reasons:
• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open workbook.
Function file: O:\QTP Tests\LibraryImageAccessFunctions-2.qfl
Line (982): " set wb=objExcel.Workbooks.open(FilePath)".
Any thoughts on why?
I need to keep the objExcel in my call as then my script fails. I do have it Set in my intial test script, but if I do not pass objExcel, my scrip fails in my Functions.
My:
FilePath = "O:/QTP Tests/QTPOutputData/ViewZipFax.xls"
Well, I figured out why, but now during the SaveAs I get the RunError:
Microsoft Office Excel cannot access the file 'O://QTP Tests/QTPOutputData/ViewZipFax.xls'. There are several possible reasons:
• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open workbook.
Function file: O:\QTP Tests\LibraryImageAccessFunctions-2.qfl
Line (982): " set wb=objExcel.Workbooks.open(FilePath)".
Any thoughts on why?
I need to keep the objExcel in my call as then my script fails. I do have it Set in my intial test script, but if I do not pass objExcel, my scrip fails in my Functions.