About 4,020,000 results
Open links in new tab
  1. python - xlwings: Save and Close - Stack Overflow

    Nov 23, 2018 · I am trying to find out how to save and close to an existing workbook using xlwings after writing in it: import xlwings as xw list_of_values = [1, 2, 3] workbook_path = 'abc.xlsx' wb …

  2. I cannot close Excel 2016 after executing a xlwings function

    Dec 11, 2016 · when I execute a an Xlwings function I can save and close the workbook. But I cannot close Excel 2016 anymore. Is this a known issue? How can I fix this?

  3. Not able to open or call the current open file with xlwings

    Aug 11, 2024 · UnboundLocalError: cannot access local variable 'mount_point' where it is not associated with a value My Excel file is on a SharePoint which is synced to my OneDrive …

  4. python - Why "app.visible = False" can not make the excel app run ...

    Feb 27, 2018 · app = xw.App(visible=False) xlwings starts up the Office COM server as invisible from the start.

  5. A whole sheet into a pandas dataframe with xlwings

    Thanks to pandas, we could read a whole sheet into a data frame with the "read_excel" function. I would like to use the same method using xlwings. In fact, …

  6. Open a Workbook with XLWINGS without making it visible

    Aug 17, 2016 · book = xw.Book(filename) is executed the 'visible' attribute of app suddenly becomes True, and the book is shown. I do not know if this is a desired feature or an …

  7. How to open an existing workbook without creating an new book?

    Nov 3, 2022 · app = xw.App(visible=False) book = xw.apps[app.pid].books.open(filepath) ###do stuff book.save() book.close app.quit() This works for me perfectly. It opens a new excel …

  8. ModuleNotFoundError: No module named 'xlwings' - Stack Overflow

    Jul 11, 2022 · Traceback (most recent call last): File "C:\Users\xxxxx\Desktop\Python automation\PT.py", line 17, in <module> import xlwings as xw ModuleNotFoundError: No …

  9. xlwings writing to range on specific sheet - Stack Overflow

    3 xw.Range is a shortcut for the Range on the active sheet of the active book of the active app. When you fully qualify like you do, then range is an attribute of the sheet object, which follows …

  10. module 'xlwings' has no attribute 'Book' - Stack Overflow

    AttributeError: module 'xlwings' has no attribute 'Book' When I try to see the attributes of xw I can see AboveBelow,ActionTime etc. but not Book. Can you help please? Thank you very much.