UFT won’t update Excel worksheet
♥ 0 |
I’m trying to update cells in an Excel Worksheet using UFT 14.01. The script runs without error, but when it finishes, the cells are not updated. My code is below. Any ideas why it’s not working? Set objExcelApp = createobject("excel.application") Set objFSO = CreateObject("Scripting.FileSystemObject") Set OrderInvoices = objExcelApp.Sheets("Invoices") OrderInvoices.cells(1,1) = "Customer Number" objExcelApp.ActiveWorkbook.Save Set OrderInvoices =nothing
Marked as spam
|