Forum Discussion
6 Replies
Sort By
- baxatobCommunity Hero
If you need to do it with the help of TestComplete, please check this topic: https://support.smartbear.com/viewarticle/69443/
However you can use an external bindings like openpyxl for Python and so on.
- Raj27Occasional Contributor
thank you, But I need to upload some values into the excel sheet that are fetched from a windows application
- altemannContributor
Hey! Maybe something like this will help you:
var values = [info coming from your app...]; function TextExcel() { var excel = Sys.OleObject("Excel.Application"); excel.DisplayAlerts = false; //No messages var book = app.Workbooks.Open("C:\\EXCELFILE"); //Path to your excel file var sheet = book.Sheets("Plan1"); //Name of the sheet for (x = 0; x < values.length; x++) { sheet.Cells(1, x+1) = values[x]; } book.Save(); app.Quit(); }
Related Content
Recent Discussions
- 5 hours agoSvetaG