07-09-2011, 01:54 AM
Raj,
I changed my address to be: O:\QTP Tests\QTPOutputData\ViewZipFax.xls
Now I get the Run Error:
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 (956): " set wb=objExcel.Workbooks.open(FilePath)".
By my intended code, if the test does not find the DocViewHref.xls file, then Save. If a file is found, SaveAs.
Currently, the Book1 is saved to DocViewHref.xls, but Book1 remains open and DocViewHref.xls is open too.
Thoughts?
thx for yoyr help. ;-)
I changed my address to be: O:\QTP Tests\QTPOutputData\ViewZipFax.xls
Now I get the Run Error:
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 (956): " set wb=objExcel.Workbooks.open(FilePath)".
By my intended code, if the test does not find the DocViewHref.xls file, then Save. If a file is found, SaveAs.
Currently, the Book1 is saved to DocViewHref.xls, but Book1 remains open and DocViewHref.xls is open too.
Thoughts?
thx for yoyr help. ;-)