Hi,

> On 16 Nov 2015, at 18:14, syedmwaliul...@gmail.com wrote:
> For some reason it doesn't save the file.

Did you get an error message?

> excel.activeWorkbook.SaveAs ("c:\TurnData.xlsx")

When you use backslashes in strings, don't forget to escape them:

> excel.activeWorkbook.SaveAs("c:\\TurnData.xlsx")

or use raw strings:

> excel.activeWorkbook.SaveAs(r"c:\TurnData.xlsx")

Greetings,


-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to