You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
xw.books.open("Test.xlsx") should open up this file if it isn't open. Right now just returning AttributeError.
xw.Book("Test.xlsx") opens up Test.xlsx as expected.
I cloned this to my Git and rand the unit tests. They work fine and now so does xw.books.open("Test.xlsx"). Seems something was causing my previous calls to xl.books.open() to attempt to reference a None object.
xw.books is the collection of the active app. If there's no Excel instance running, i.e. there's no app, it will not work. xw.Book is a convenience class that takes care of instantiating a new app if there isn't one yet.
* initial commit on my fork
* test commit
* chenged gitignore
* linked eceptions for Book() and Books()
* fix for issue 540
coordinated exceptions accross calls to xw.Book and .books() methods.
Added one unit test to each unit test suite (look for _bad_open)
* deleted project files
* test
should be aligned
The text was updated successfully, but these errors were encountered: