selection property is a List

Issue #1066 resolved
arkan1313 created an issue

I just found a problem when trying to get the active_cell parameter.


/usr/local/var/pyenv/versions/3.7.0/lib/python3.7/site-packages/openpyxl/worksheet/ in active_cell(self)
    173     @property
    174     def active_cell(self):
--> 175         return self.sheet_view.selection.activeCell
    177     @property

AttributeError: 'list' object has no attribute 'activeCell'

Looking at the code openpyxl/worksheet/, the property functions around lines 170-175 (selected_cell and active_cell) are missing that "selection" is a list

Comments (2)

  1. Log in to comment