About 50 results
Open links in new tab
  1. 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?

  2. 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 folder locally. I've also …

  3. 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 = xw.Book(

  4. 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 unexpected behaviour. …

  5. 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.

  6. 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, my Workbook is already open …

  7. Machine Learning: Why xW+b instead of Wx+b? - Stack Overflow

    Nov 25, 2016 · @KevinMeier I have seen many paper using xW [:, i] to indicate the i -th component of mapped feature, so I search the web to find whether it is common to use xW+b instead of Wx+b in …

  8. 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 instance and …

  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 the Python …

  10. Python - xlwings - How to rename sheet and add value to the name

    Apr 15, 2021 · I have a list of Sheets and for each sheet I need to SUM float values from the column A and the SUM outcome should be added to the Sheet name. For example: Sheet1 --> Sheet1 …